Type: | number |
---|---|
Inherited: | no |
Used By: | areagraph, linegraph |
Default: | 100 |
See: | function-smoothness |
If you're plotting a datacurve, the maximum number of values to plot.
If your data set has thousands of values, you may set this and drop a few to speed things up (exactly which points are dropped are undefined, but the remaning data is guaranteed to be evenly spread across the graph).
<linegraph max-data-points="200"> <datacurve name="Lots of data"> <sample x="1" value="1"/> <sample x="2" value="2"/> <sample x="2" value="3"/> . . . <sample x="4998" value="4998"/> <sample x="4999" value="4999"/> <sample x="5000" value="5000"/> </datacurve> </linegraph>