Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
UltraChart: Formating displayed label on X axis.
posted

Hi guys!

I'm trying to format the label displayed on my chart (DateTime value), but somehow the component is ignoring my configuration. I'd like to know if there's any flag the we need to set on or off to do the component consider our custom formatting?

Here's an exemple of my code:

ultraChart.LineChart.TreatDateTimeAsString = false;
ultraChart.Axis.X.Labels.Layout.Behavior = AxisLabelLayoutBehaviors.Auto;
ultraChart.Axis.X.Labels.ItemFormatString = "<ITEM_LABEL:dd/MM/yy>";

Even with that configuration my date it's been shown like JUL/23/2012 instead of 23/07/12.

What did I miss?

Regards