Welcome Guest Search | Active Topics |

Calculated minimum and maximum on logarithmic scale
Vince
#1 Posted : Wednesday, April 24, 2013 3:39:12 AM(UTC)
Rank: Member

Groups: Registered
Joined: 4/24/2013(UTC)
Posts: 16

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

is there a way for avoiding that the y-axis alwas starts at 0 with logarithmic scale (apart from calculating and setting the minimum manually)? I don't see any reason for the chart to start at 0 and end at 100 when the lowest value in the series-data is ~40 and the highest is ~65.
Dragan
#2 Posted : Wednesday, April 24, 2013 3:07:06 PM(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 logarithmic scale, instead of the data values, also depends on the logBase. By default the logBase is 10.

Code:
http://www.jqchart.com/jquery/chart/ChartAxes/LogarithmicScale


In your case you can change the logBase, so you'll have more precise range.
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (2)
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.081 seconds.