| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials Properties Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > SharpPlot Class > SharpPlot Constructors SharpPlot ConstructorsInitialize a new instance of the SharpPlot class with default paper size (432 pts wide by 324 points high): public SharpPlot(); Constructor for SharpPlot taking paper size (width,height in pts) which determines the SVG viewbox, the size of an image rendered at default dpi, and so on. public SharpPlot( int width, int height ); Examplesp = new SharpPlot(600,300); This will also set the default chart frame to (0,300,600,300) to occupy all the available area. Call NewFrame to create a chart frame anywhere within the defined area of the paper. See also ...Reset Method | SetBackground Method |