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

Multiple Series with different Y axis values
http://wiki.pchart.net/forum/viewtopic.php?f=1&t=5252
Page 1 of 1

Author:  raheel [ Tue Apr 17, 2012 5:51 am ]
Post subject:  Multiple Series with different Y axis values

Hi there,

Can anyone resolve my issue.. ie;

I'm creating a chart's section for multiple stocks to compare simultaneously.
I have a form that takes input and get YAxis values from the Database, then simply push that values of array() to pChart. eg:

SYMBOL | YAXIS | XAXIS
===== | ==== |=====
ICI | 19 | 9:00
ICI | 18 | 9:01
ICI | 17 | 9:02
ICI | 20 | 9:03

SYMBOL | YAXIS | XAXIS
===== | ==== |=====
AMC | 200 | 9:00
AMC | 195 | 9:01
AMC | 202 | 9:02
AMC | 210 | 9:03

and so on...

when I push just one series like 'ICI' by using "addpoints()" then chart displaying such a good fluctuation (variation), but when i push another series on the same scale ie; AMC which has huge data values then the pChart draw chart with extreme miner fluctuation that seems an straight lines.

I dont know where im going to mistake :-(
plz help

Raheel

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