pChart 2.x forum
http://wiki.pchart.net/forum/

Issue with pIndicator
http://wiki.pchart.net/forum/viewtopic.php?f=5&t=448
Page 1 of 1

Author:  theodamien [ Mon May 09, 2011 10:41 am ]
Post subject:  Issue with pIndicator

Line: 187 of pIndicator.class.php

I replace:

Code:

if ( $CaptionLayout == INDICATOR_CAPTION_DEFAULT )
      $this->pChartObject->drawText($X1,$Y+$Height+$TextPadding,"tot",$CaptionColor);


BY

Code:

if ( $CaptionLayout == INDICATOR_CAPTION_DEFAULT )
       $this->pChartObject->drawText($X1+$XOffset,$Y+$YOffset+$TextPadding,$Caption,$CaptionColor);


Because with CaptionLayout = INDICATOR_CAPTION_DEFAULT the text is never display.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/