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

[No canvas support]>
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
/2,75,150,750,158,570,107,890,750,132,158,560,169,240,147" filled="0" yaxisLabelsCount="6"
log_scale="1" xaxisLabelsAngle="15" ymin="1" ymax="890" spline="true" yaxisScaleUnitsPost="$" tooltip="#label#: #val#$" tickmarksStyle="circle"}cvs{/rgraph}

 

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