|
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
sad
New pChart user
Joined: Fri Oct 04, 2013 10:01 am Posts: 3
|
Data from array..
Hi.. im new to this.. n i have a problem in getting data from an array..
I need to use to chart on my webpage..pie chart and vertical bar chart. my pie chart work just fine..here's my code.
$myData = new pData(); foreach($data1 as $key=>$val){ $myData->addPoints($val); $myData->addPoints($key,"Labels"); $myData->setAbscissa("Labels"); }
I use the same method for my bar chart.. But it didn't work..
how do i get the data for the bar chart?? if you need more information according to my problem pls ask.. Thanks in advance..
|
Mon Oct 07, 2013 2:34 am |
|
|
sad
New pChart user
Joined: Fri Oct 04, 2013 10:01 am Posts: 3
|
Re: Data from array..
i figured it out
|
Mon Oct 07, 2013 3:56 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 9 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|
|