Welcome Guest Search | Active Topics |

Localization of date format?
dstewart
#1 Posted : Thursday, October 20, 2011 9:21:22 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/20/2011(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Is there a way to specify the display format used for dates? We would like e.g. dd-MM-yyyy instead of the American MM/dd/yyyy.

Best regards
David
Dragan
#2 Posted : Thursday, October 20, 2011 9:39:47 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

You can format the date labels with:

...,
axes: [
{
type: 'dateTime',
location: 'bottom',
labels: {
stringFormat: 'dd-mm-yyyy'
},
...
},...

Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.107 seconds.