standus
Regular pChart user
Joined: Thu Feb 24, 2011 12:50 pm Posts: 12
|
Y axis problem
hi,
1. please help with Y axis which display wrong numbers. when all X values are 0 then Y line is in middle with -1 and +1, but I need it from 0 to 1 for example. I have this setting: $myPicture->setShadow(FALSE); $myPicture->setGraphArea(45,40,655,200); $myPicture->setFontProperties(array("R"=>150,"G"=>150,"B"=>150,"FontName"=>"DejaVuSansCondensed.ttf","FontSize"=>7)); $Settings = array("Pos"=>SCALE_POS_LEFTRIGHT, "Mode"=>SCALE_MODE_ADDALL_START0, "LabelingMethod"=>LABELING_ALL , "GridR"=>230, "GridG"=>230, "GridB"=>230, "GridAlpha"=>50, "TickR"=>0, "TickG"=>0, "TickB"=>0, "TickAlpha"=>50 , "LabelRotation"=>0, "CycleBackground"=>1, "DrawXLines"=>1, "DrawSubTicks"=>1, "SubTickR"=>0, "SubTickG"=>0, "SubTickB"=>0, "SubTickAlpha"=>50, "DrawYLines"=>ALL); $myPicture->drawScale($Settings);
Is it bug or please help how to resolve it?
2. next problem have with pie chart. there are white numbers with percents and in middle of pie. I need black numbers and more in the region or near border. Please help.
Last edited by standus on Mon Mar 14, 2011 3:08 pm, edited 1 time in total.
|