Question

I'm struggling with DevExpress XAF ChartList, where I need to provide formatting DateTime format for AxisX. Currently, it has format "dd/MM/yyy", but I need "dd/MM/yyyy HH:mm:ss". Chart settings wizard hadn't provide such options, in DevExpress documentation I failed to find such solution. Is there any way to format DateTime in AxisX?

P.S. Is there any general way to format data at axises as I need?

Thanks in an advance.

Was it helpful?

Solution

If you are using the chart wizard go in Axes from the navigation and ensure its on the XAxis, then go down to the Labels tab and select the Auto tab, from the format dropdown select custom and in the format string set dd/MM/yyyy HH:mm:ss

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top