Adrielpin / gchartphp

Automatically exported from code.google.com/p/gchartphp
0 stars 0 forks source link

addAxisRange rescales axis but not the data #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. take the sample file
2. set max value of addAxisRange to 200 @line 183

What is the expected output? What do you see instead?
the axis have the correct range but the range is not applied to the data

Original issue reported on code.google.com by alex3.dr@gmail.com on 11 Sep 2011 at 5:02

GoogleCodeExporter commented 8 years ago
Did you set up the range for the data?
This command should re-size your data set.

$lineChart->setDataRange(0,200);

Original comment by bardellie on 11 Sep 2011 at 8:04

GoogleCodeExporter commented 8 years ago
thx for the quick response and the hint! according to the documentation it 
seems to be the correct behavior that you have to set both axisRange and 
dataRange.

btw thx for the great lib and support :)

Original comment by alex3.dr@gmail.com on 12 Sep 2011 at 12:25