Welcome Guest Search | Active Topics |

How to show the String data / integer data on left axis of vertical Area Chart, Vertical Line chart
MagnaQuest
#1 Posted : Wednesday, May 16, 2018 12:31:23 AM(UTC)
Rank: Newbie

Groups: jQueryChart, Registered
Joined: 1/28/2016(UTC)
Posts: 7

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

I am generating the vertical Area charts, vertical Line chart, and so on vertical typed charts. I want to show String data as axis labels in the left axis, and integer data in some other cases, but as per the chart default properties the axis labels in the left are shown as NAN , and decimal forms like (.0002014, .0002015, 0.0002016) instead of (2014, 2015, 2016) respectively for String and number data types . I have given the axis labels property , StringFormat : "%d" to show number data 2014, 2015 but still the format is shown as decimals .0002014, 0.0002015. Please, provide a fix for the above mentioned issue and mention the types to give under stringFormat.


Regards,
Magnaquest.
Dragan
#2 Posted : Monday, May 21, 2018 5:52:06 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,

For you case you can use "axisLabelCreating" event:
http://www.jqchart.com/jquery/chart/CustomizingChart/AxisLabelCreatingEvent
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.145 seconds.