SharpPlot Reference > SharpPlot Properties > PixelLimit Property

SharpPlot.PixelLimit Property

Set maximum number of pixels (for rectangular tiling) allowed to be drawn (defaults to 1,000,000).

SharpPlot will throw a CausewayLimitException if the limit is exceeded.

This parameter prevents a chart running forever if you accidentally plot a silly amount of data.

Setting the limit to 0 disables it.

public int PixelLimit {get; set;}

Example

sp.PixelLimit = 0;

See also ...

SharpPlot Members | SharpPlot.LineLimit Property | SharpPlot.MarkerLimit Property | SharpPlot.TextLimit Property | SharpPlot.TileLimit Property


Send comments on this topic
© Dyalog Ltd 2016