Lines Matching +defs:style +defs:name
24 function pChart_autoload($name){
25 $file = dirname(__FILE__).'/'.$name.'.php';
192 * Set line style
212 private function drawGraphArea(BackgroundStyle $style) {
216 $style->getBackgroundColor(),
222 $style->getBackgroundColor()->addRGBIncrement(-40),
223 $style->getBorderWidth(),
224 $style->getBorderDotSize(),
228 if($style->useStripe()) {
229 $color2 = $style->getBackgroundColor()->addRGBIncrement(-15);
261 public function drawGraphBackground(BackgroundStyle $style) {
262 $this->drawGraphArea($style);
263 $this->drawGraphAreaGradient($style);
297 function drawRightScale(pData $data, ScaleStyle $style, $Angle = 0, $Decimals = 1, $WithMargin = FALSE, $SkipLabels = 1) {
298 $this->drawScale($data, $style, $Angle, $Decimals, $WithMargin, $SkipLabels, TRUE);
304 function drawScale(pData $Data, ScaleStyle $style, $Angle = 0, $Decimals = 1, $WithMargin = FALSE, $SkipLabels = 1, $RightScale = FALSE) {
311 $style->getColor(),
312 $style->getLineWidth(),
313 $style->getLineDotSize(),
319 $style->getColor(),
320 $style->getLineWidth(),
321 $style->getLineDotSize(),
326 $Divisions = $this->calculateDivisions($Data, $style);
355 if($style->getDrawTicks() == FALSE)
365 $style->getColor(),
366 $style->getLineWidth(),
367 $style->getLineDotSize(),
374 $style->getColor(),
375 $style->getLineWidth(),
376 $style->getLineDotSize(),
396 $style->getColor(),
410 $style->getColor(),
434 $style->getColor(), $this->FontName,
443 $style->getColor(), $this->FontName,
459 $style->getColor(),
460 $style->getLineWidth(),
461 $style->getLineDotSize(),
482 $style->getColor(),
495 $style->getColor(),
506 $style->getColor(),
535 $style->getColor(), $this->FontName,
545 * data covers, as well as the scale style. Divisions should have
554 private function calculateDivisions(pData $Data, ScaleStyle $style) {
568 if($style->getScaleMode() == SCALE_NORMAL
569 || $style->getScaleMode() == SCALE_START0
571 if($style->getScaleMode() == SCALE_START0) {
591 } elseif($style->getScaleMode() == SCALE_ADDALL || $style->getScaleMode() == SCALE_ADDALLSTART0) /* Experimental */ {
592 if($style->getScaleMode() == SCALE_ADDALLSTART0) {
645 function drawXYScale(pData $Data, ScaleStyle $style, $YSerieName, $XSerieName, $Angle = 0, $Decimals = 1) {
652 $style->getColor(),
653 $style->getLineWidth(),
654 $style->getLineDotSize(),
660 $style->getColor(),
661 $style->getLineWidth(),
662 $style->getLineDotSize(),
706 $style->getColor(),
707 $style->getLineWidth(),
708 $style->getLineDotSize(),
726 $style->getColor(),
777 $style->getColor(),
778 $style->getLineWidth(),
779 $style->getLineDotSize(),
803 $style->getColor(),
816 $style->getColor(),
827 $style->getColor(),
855 $style->getColor(),
863 $this->writeScaleXAxisCaption($Data, $style, $YMax);
866 private function drawGridMosaic(GridStyle $style, $divisionCount, $divisionHeight) {
889 $style->getAlpha()
898 private function writeScaleXAxisCaption(pData $data, ScaleStyle $style, $YMax) {
908 $style->getColor(),
920 function drawGrid(GridStyle $style) {
922 if($style->getMosaic()) {
923 $this->drawGridMosaic($style, $this->DivisionCount, $this->DivisionHeight);
933 $style->getLineWidth(),
935 $style->getColor(),
961 $style->getLineWidth(),
963 $style->getcolor(),
1200 * @todo What is the method name a typo for? Threshold?
2860 private function drawGraphAreaGradient(BackgroundStyle $style) {
2861 if(!$style->useGradient()) {
2868 $style->getGradientStartColor(),
2869 $style->getGradientDecay()