A Chart with logarithmic Scale

For data, which grows exponentially you might need logarithmic scale axis. This is quite often used in financial charts, to show the grow of stocks over a long period. The use of the logarithms of the values rather than the actual values reduces a wide range to a more manageable size.

Parameter for creation of chart

{rgraph type="Line" width="600" height="350" title="Logarithmic Scale" 
data="May 1,May 2,May 3,May 4,May 5,May 6,May 7,May 8,May 9,May 10,May 11,May 12,May 13,May 14,May 15
/20,75,15,75,158,57,107,89,75,132,158,56,169,24,147" 
log_scale="1" textAngle="15" ymin="10" ymax="180" spline="true" tooltip="#label# <br>#val#$" 
unitsPost="$" draw_option="trace2();"}test{/rgraph 
[No canvas support]>

 

Important: If you want to test this sample via copy/paste, ensure that you paste with option "paste as plain text" otherwise imbedded html-codes may invalidate your input.
go back...

Visitors

Today: 11
Yesterday: 21
This Week: 115
Last Week: 123
This Month: 68
Last Month: 492
0148784
United States 35.2% USA
Germany 13.5% Germany
Russia 4.6% Russia
France 3.3% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.4% India
Poland 2.2% Poland

Total:

204

countries

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok