View unanswered posts | View active topics It is currently Fri Jun 21, 2024 1:43 pm

Reply to topic  [ 1 post ] 
Bar char x-axis label not showing 
Author Message
New pChart user
New pChart user

Joined: Thu Jun 13, 2013 9:03 am
Posts: 3
Post Bar char x-axis label not showing

I have copied this code from the examples, the scale draws just fine with the y-axis displaying it's label, but the x-axis never shows the text 'Months' as per the screenshot in the sample. (code should run as-is, just set the fonts path)
Please help

$MyData = new pData();

/* Prepare some nice data & axis config */

/* Define the graph area and do some makeup */
$myPicture = new pImage(800, 800, $MyData);
$myPicture->drawText(350,55,"My chart title",array("FontSize"=>20,"Align"=>TEXT_ALIGN_BOTTOMMIDDLE));

/* Compute and draw the scale */


Thu Jun 13, 2013 3:08 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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: