![]() |
ChartLength








Public Data Item |
Declared in: NiGraph.h |
Declaration
long ChartLength;
Description
Specifies how many points the graph stores when charting before deleting old data.
Note: Set this property to zero to store only enough points to fill the plot area. The following list includes restrictions that apply to this mode.
- If AutoScaling is enabled on the x axis, the chart length is not recalculated.
- Only the ChartY function supports automatic chart length calculation. The ChartXY and ChartXvsY functions do not.
- If you change the x axis range (the XInc parameter) between calls to ChartY, there might not be enough data to fill the plot area.