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



Reply to topic  [ 1 post ] 
DrawScale -> (DrawXLines / DrawYLines) 
Author Message
Experienced pChart user
Experienced pChart user

Joined: Fri Apr 08, 2011 10:45 am
Posts: 27
Post DrawScale -> (DrawXLines / DrawYLines)
Code:
$format         = array(
      'Mode' => SCALE_MODE_MANUAL,      // echelle manuelle
      'ManualScale' => $AxisBoundaries,   // val min/max de l'axe Y
      'LabelingMethod' => LABELING_ALL,   // will write all X labels.
      'LabelSkip' => $maxMesures,         // libellés skip
      'Factors' => array(5),            // pas (step) de l'axe Y
      'LabelRotation' => 45,            // rotation des libellés X
//      'GridAlpha' => 100,
      'DrawXLines' => true,
      'DrawYLines' => false,
      'GridR' => 0,
      'GridG' => 0,
      'GridB' => 0,
   );


When I use this code, only Y lines are displayed, and when I use 'DrawYLines' => true, only X lines are displayed, so unless I have misunderstood how to use it, I think they are switched


Wed Apr 27, 2011 8:13 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

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

Search for:
Jump to:  
cron