ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Zoom and Scroll - Date Format
Posted by Eddy Glaister on Apr-10-2014 16:27
Hi there,

I have implemented zoom and scroll on one of my charts as per the example in the below
link.

http://www.advsofteng.com/doc/cdnetdoc/simplezoomscrollweb.htm

However, the dates are being rendered as MM/DD/YYYY - I am from the UK and need these
to be rendered as DD/MM/YYYY

Can you please explain how I can do this as the dates seem to be rendered directly through
the chart director code straight from the DateTime provided.

Thanks

  Re: Zoom and Scroll - Date Format
Posted by Peter Kwan on Apr-10-2014 20:57
Hi Eddy,

You may use Axis.setLabelFormat to specify the label format. For example:

c.xAxis().setLabelFormat("{value|dd/mm/yyyy}");

Hope this can help.

Regards
Peter Kwan