Reference > SharpPlot Class

SharpPlot Class

SharpPlot is a comprehensive library of business and scientific charts. See Constructors, Properties and Methods and Properties for the full list of chart types and the many properties which can be set for them.

public class SharpPlot

Example

With SharpPlot, you first set up any properties (like headings and labels), then you call one of the many Draw methods to build the chart, and finally you Render the result to your chosen format.


sp.SetMargins(0);
sp.PieChartStyle = PieChartStyles.ValueTags;
sp.ValueTagStyle = ValueTagStyles.Inside;
sp.SetValueFont("Arial",18,FontStyle.Bold,Color.White);
data = new int[] {31,23,16,8};
expl = new int[] {0,0,25,0};
sp.DrawPieChart(data,expl);

There are many more example charts in the Tutorial section of this guide.

Requirements

Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)


Send comments on this topic
© Dyalog Ltd 2013