Jump to content
Software FX Community

Hidden points in line XY graph


User (Legacy)

Recommended Posts

I have been creating some line XY graphs showing how a particular 

measurement varies over time and have had problems when trying to

handle multiple series with different numbers of points.

The method I tried was:

a) Determine series with maximum number of points and initialise the

chart with that number of points.

B) For each series plot the actual points and then set all remaining

points (i.e. up to maximum number specified for chart) to

XValue = 0

YValue = CHART_HIDDEN

This crashed the web server completely - it seems that hidden points

are a no-no in XY graphs.

To get round this I ended up setting unused points in each series to

the same value as the last real point. This seems to work but setting

unused points to hidden would be clearer.

Graham Cockell

PDHI

Link to comment
Share on other sites

I have been creating some line XY graphs showing how a particular 

measurement varies over time and have had problems when trying to

handle multiple series with different numbers of points.

The method I tried was:

a) Determine series with maximum number of points and initialise the

chart with that number of points.

B) For each series plot the actual points and then set all remaining

points (i.e. up to maximum number specified for chart) to

XValue = 0

YValue = CHART_HIDDEN

This crashed the web server completely - it seems that hidden points

are a no-no in XY graphs.

To get round this I ended up setting unused points in each series to

the same value as the last real point. This seems to work but setting

unused points to hidden would be clearer.

Graham Cockell

PDHI

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...