View unanswered posts | View active topics It is currently Sat Apr 27, 2024 2:44 pm



Reply to topic  [ 2 posts ] 
addpoint based on text files 
Author Message
New pChart user
New pChart user

Joined: Wed Jul 24, 2013 4:31 pm
Posts: 1
Post addpoint based on text files
Hello,

First I want to apologize about the poor quality for my English ...

Can we do something like this ?? (for Chart)

Code:
$DataSet->AddPoint(array("ex1.txt"),"Serie1");
$DataSet->AddPoint(array("ex2.txt"),"Serie2");


where the txt files contains value

(for example : ex1.txt : 3.0, 2.0, 0.5
and
ex2.txt : 1.0, 3.0, 2.0)

Thanks


Wed Jul 24, 2013 4:39 pm
Profile
Regular pChart user
Regular pChart user

Joined: Fri Jun 24, 2011 5:13 pm
Posts: 10
Post Re: addpoint based on text files
There's a method in pData to import dataset from a csv file

importFromCSV

read it here

http://wiki.pchart.net/doc.dataset.importfromcsv.html


Wed Jul 31, 2013 2:42 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 15 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

Search for:
Jump to:  
cron