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

writeBounds ExcludedSeries dosn't work in 2.1.3
http://wiki.pchart.net/forum/viewtopic.php?f=5&t=39801
Page 1 of 1

Author:  Zdolny [ Tue May 28, 2013 10:14 pm ]
Post subject:  writeBounds ExcludedSeries dosn't work in 2.1.3

class\pDraw.class.php
@ line 3198
Code:
    list($XMargin,$XDivs) = $this->scaleGetXSettings();

     $Data = $this->DataSet->getData();
     foreach($Data["Series"] as $SerieName => $Serie)
      {
- if ( $Serie["isDrawable"] == TRUE && $SerieName != $Data["Abscissa"] && !isset($ExcludedSeries[$SerieName]))
+ if ( $Serie["isDrawable"] == TRUE && $SerieName != $Data["Abscissa"] && $ExcludedSeries != $SerieName)
        {
         $R = $Serie["Color"]["R"]; $G = $Serie["Color"]["G"]; $B = $Serie["Color"]["B"]; $Alpha = $Serie["Color"]["Alpha"]; $Ticks = $Serie["Ticks"];
         if ( $DisplayColor == DISPLAY_AUTO ) { $DisplayR = $R; $DisplayG = $G; $DisplayB = $B; }


Regards,
Zdolny

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