#5 xmin not set in Sparkline_Line :: ConvertDataSeries

0.2
open
nobody
None
5
2005-12-18
2005-12-18
Robby Griffin
No

on line 92 of Sparkline_Line.php, existence of this->yMin is tested
before setting this->xMin. But yMin is always already set at that point.

Discussion

  • Robby Griffin
    Robby Griffin
    2005-12-18

    Logged In: YES
    user_id=83996

    ... but of course, xMin doesn't appear to be used anyway, which is somewhat
    annoying when I'm trying to draw an accurate line graph where the datapoints
    aren't a simple sequence starting at x=0.

     
  • Robby Griffin
    Robby Griffin
    2005-12-18

    Logged In: YES
    user_id=83996

    here's a patch that does what I want.

     
  • Robby Griffin
    Robby Griffin
    2005-12-18

    fixes both problems described

     
  • James Byers
    James Byers
    2007-06-09

    Logged In: YES
    user_id=157
    Originator: NO

    xMin typo is corrected, testing the rest of the patch for use in 0.3