pub fn format_value_locale(v: &Value, locale: &Locale) -> StringExpand description
format_value in the conventions of locale: numbers get its decimal
and thousands marks, datetimes its date format and month names.
use ggplot_rs::data::Value;
use ggplot_rs::format::{format_value_locale, Locale};
let de = Locale::de_de();
assert_eq!(format_value_locale(&Value::Float(1234.56789), &de), "1.234,568");
assert_eq!(format_value_locale(&Value::DateTime(1_792_022_400), &de), "15. Okt. 2026");