pChart 2.x forum
http://wiki.pchart.net/forum/

Ymax and Ymin values
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=443
Page 1 of 1

Author:  ugniesdebesys [ Thu May 05, 2011 11:20 am ]
Post subject:  Ymax and Ymin values

Hi

I

have currency data

1, 0.031
1, 0.032
1, 0.029

Ymin and Ymax is generated from 0 to 1.

I need Y axis from 0.2 to 0.4.

How to set Y axis min and max values?

Another similar case:

1, 0.11
1, 0.12
1, 0.19

I need from Ymin = 0.1 to Ymax = 0.2.

Is it possible Ymax and Ymin to count with some method? Not setting statically.

Author:  ugniesdebesys [ Thu May 05, 2011 12:44 pm ]
Post subject:  Re: Ymax and Ymin values

Found :)

f.e.

$Test->setFixedScale(3.0, 3.1 ,5);

Author:  ugniesdebesys [ Thu May 05, 2011 12:47 pm ]
Post subject:  Re: Ymax and Ymin values

:shock:

This class is better than others :mrgreen:

Congratulations

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/