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



Reply to topic  [ 1 post ] 
Regarding a dynamic X-Axis 
Author Message
New pChart user
New pChart user

Joined: Mon Jan 16, 2012 9:19 am
Posts: 1
Post Regarding a dynamic X-Axis
Hi!

First I'd like to say that this is an amazing chart system and I've been using it for quite a while!

I'm creating a progress graph for a patient, where the x-axis would display the last calibration date. Problem is the calibration might be absent 2-3 days at a time and I would like this represented in the line-graph.

So how would I go about creating a graph with just plots on the dates the patient actually calibrated.

Thank you very much in advance,
Richard


---
Update;
Managed to solve it myself after some tinkering.

Used
Code:
   
   $MyData->addPoints(array(3,12,VOID,VOID,2,5),"PR1");

   $Config = array("BreakVoid"=>0, "BreakR"=>234, "BreakG"=>55, "BreakB"=>26);
   $myPicture->drawLineChart($Config);
   $myPicture->drawPlotChart(array("PlotBorder"=>TRUE,"BorderSize"=>1,"Surrounding"=>-60,"BorderAlpha"=>80));


Ref: http://wiki.pchart.net/doc.missing.points.html

Now wondering how you change the dotted line filled between breaks into a solid line?

Thanks, Richard


Mon Jan 16, 2012 9:32 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

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