Welcome Guest Search | Active Topics |

Detailed documentation on StringFormat
Voltegirev
#1 Posted : Tuesday, September 5, 2017 3:55:03 AM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 6/8/2017(UTC)
Posts: 9

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hello,

is there a more detailed documentation on the StringFormat?
What is on this page is not complete

'%0.2f' - for example this makes number of decimals equal to two. What are the other "tricks"?
Is the an ability to format thousands delimeter as a space?
Dragan
#2 Posted : Tuesday, September 5, 2017 5:56:57 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,

The all available options are listed here:
http://www.jqchart.com/docs/jquery/#!/guide/LabelsFormatting-section-formatting-numeric-values-%28number%29

Unfortunately, the thousands delimiter can't be added with this formatting, but it can be added with 'axisLabelCreating' event:
http://www.jqchart.com/jquery/chart/CustomizingChart/AxisLabelCreatingEvent

or 'dataPointLabelCreating' event:
http://www.jqchart.com/jquery/chart/CustomizingChart/DataPointLabelCreatingEvent

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.063 seconds.