User (Legacy) Posted December 7, 2004 Report Share Posted December 7, 2004 Hello, I have a combination graph (AREA, and LINES) with two seperate series. I also have a graph with just one series (LINES). Examples of both of these are attached. Both of these graphs are using the exact same data. For some reason, on the combination graph, the line is not terminating at the last data point... It's as if there is an extra last data point, that has the same Y value as the last data point, but has an X value at the origin of the graph. (Pictures (graphs) are worth a thousand words, check out the attached images). I have this same problem with another graph used on the same site. In this case, the graphs are all LINES. Again, using identical source data, I get the same weird horizontal lines going back to the origin. The only thing I changed between the two graphs is the length of time on the X axis (2 hours of data vs. the last 24). I went ahead and attached those as well. Any ideas as to what might be causing this? Thanks! Brian Link to comment Share on other sites More sharing options...
Software FX Posted December 7, 2004 Report Share Posted December 7, 2004 There is an extra point in this graph with X = 0 and Y = 0 (default) probably because it was left un-initialized. Check your data. Remember, all series in Chart FX have the SAME number of points. If you are assigning values for the Bar series beyond the last point in the line, the line series will be filled with zeros to match the size of the bar series. If you want to hide these values assign CHART_HIDDEN to them. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 7, 2004 Author Report Share Posted December 7, 2004 OK, this solved the problem. Just a suggestion: Maybe the ~default~ value should be CHART_HIDDEN (any way to set default value?). I would think you wouldn't want a data point plotting unless you specifically asked for it! When dealing with multiple series that don't share the same X ordinates, or even the same number of X values, its gonna gets programmatically expensive to figure out. Example like my RWIS graphs, I have 4 series I want to plot: Query max number of ordinates in first series. Query max number of ordinates in second series. Query max number of ordinates in third series Query max number of ordinates in fourth series. Determine max number of ordinates for all series. Query data pairs for first series and feed to chart. Add on CHART_HIDDENs for the remaining ordinates. Query data pairs for second series and feed to chart. Add on CHART_HIDDENs for the remaining ordinates. Query data pairs for third series and feed to chart. Add on CHART_HIDDENs for the remaining ordinates. Query data pairs for fourth series and feed to chart. Add on CHART_HIDDENs for the remaining ordinates. Maybe there is a much easier way to do this and I'm missing it! Thanks for your quick response! Brian . "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:zjBJqZJ3EHA.1116@webserver3.softwarefx.com... > There is an extra point in this graph with X = 0 and Y = 0 (default) > probably because it was left un-initialized. > > Check your data. Remember, all series in Chart FX have the SAME number of > points. If you are assigning values for the Bar series beyond the last point > in the line, the line series will be filled with zeros to match the size of > the bar series. If you want to hide these values assign CHART_HIDDEN to > them. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.