#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    europe
    Posts
    287
    Rep Power
    14

    Ezcomponents Graph


    Hi,

    We are using Ezcomponents for creating charts on the fly with PHP. One type we frequently use is a chart combining columns and a single line that can be seen here:
    http://ezcomponents.org/docs/tutorials/Graph#combining-bar-and-line-charts

    The problem I have is that in some charts the last column represents an average value. For this value there should not be drawn the combined line. Does anybody have an idea or experience how to get rid of this last section of the line? Would be great if you let me know.

    Cheers
    Last edited by rayz; July 19th, 2013 at 06:28 AM. Reason: avoided line break in link
    http://www.digikix.de
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    europe
    Posts
    287
    Rep Power
    14
    We found a rather simple solution: use unset() on the corresponding array element did the trick. Then the line is not drawn. (I had expected the graph would be drawn to zero.)
    http://www.digikix.de

IMN logo majestic logo threadwatch logo seochat tools logo