Methods

The methods of the SharpPlot class are listed below.

SharpPlot Methods

AddAttributesDefine a single handler for all X values in all series
AddBookmarkAdd a bookmark for a page or section
AddEffectAllow user to associate arbitrary SVG with any standard text item
AddHintsDefine a single hint for all X values in all series
AddHyperlinksDefine a single link for all X values in all series
AddJavaPrologueAdd a javascript prologue to chart rendered as SVG or VML
AddTableShadingAdd Color and optional shading to a table cell
AddTipsDefine a single tip for all X values in all series
DefineFontAdd a short code for a complex font definition
DrawBarChartConstructs a grouped or stacked barchart from given data values
DrawBoxPlotConstruct box-whisker plot from data and one or two category arrays
DrawBubbleChartMake an incidence plot from x and y data and marker scales
DrawCloudChartDraw 3D grid and construct 3D Scatter from x,y and z values (either x or y may be category variables)
DrawContourPlotGenerate contour plot from xyz values passed as 3 arrays
DrawDialChartDraw a dial from one or more data values and optional pointer radii as percentages
DrawFrameDraw current frame, with any fixed text such as headings and footnotes
DrawGanttChartConstruct a Gantt chart from schedule data
DrawHistogramConstruct a histogram plot from data and class interval
DrawImageAdd an artwork to the current chart given a bitmap object or filename and optional uri and size. The bitmap is required for embedded formats and the uri is used to make the link for web graphics.
DrawKeyThis will draw and clear any pending keys, using the current setting of key text. It is called automatically on Rendering the completed chart, so is only required if you need an exact key location.
DrawLineGraphConstructs a linegraph or surface plot from an array of data values
DrawMinMaxChartConstruct hi-lo plot, joining maximum with minimum data values for each axis value
DrawMultipleGenerate a trellis from nested yvalues and iterate around it for each data vector
DrawNoteWrite text note at XY co-ordinate or absolute position with optional rotation and max width.
DrawPieChartConstructs a piechart from an array of data values and optional explosion array
DrawPolarChartConstruct polar chart from data (radial=Y, angular=X)
DrawResponsePlotDraw 3D grid, and construct surface from multiple vectors of zValues giving rows and columns
DrawScatterPlotMake a scatter-diagram from x and y data
DrawStepChartConstruct step chart from data and step start-points
DrawTableConstruct table from a set of columns of data.
DrawTowerChartDo 3D grid, and construct towerchart from simple rectangular set of heights
DrawTraceChartSeismometer-style chart with multiple parallel traces
DrawVectorsMake a vector chart (directed graph or velocity map) from an array of links
DrawVennDiagramDraw a Venn diagram using supplied membership data
DrawXBarChartCreate Barchart (vertical only) with given rather than logical X-axis
GetCoefficientsCoefficients of modelfit
GetFittedValuesFitted values from model
GetITickPositionsCalculated Inner ticks
GetResidualsResiduals from modelfit
GetXTickPositionsCalculated X tickmarks
GetYTickPositionsCalculated Y tickmarks
GroupByPrepare key-based grouping criterion prior to plotting data.
IncludeSourceAdd arbitrary (SVG/EPS) content to beginning of output stream
NewCellMove to the next cell in the current trellis.
NewFrameClear the area for a new chart with an optional new frame size/position.
NewPagePage throw with option to skip full reset
NewYAxisPartial reset to allow independent secondary Y-axis
NextNoteReturns the correct position for the next note text allowing given extra space in pts
RedrawAxesOverdraws the existing axes where data has obscured them
RenderBitmapReturn completed chart rendered through raster engine as type Bitmap
RenderEpsReturn completed chart rendered through EPS engine
RenderGraphicReturn completed chart as is
RenderImageMapReturn tags to make an HTML imagemap for completed chart
RenderMetafileReturn completed chart rendered through raster engine (as Metafile type)
RenderPdfReturn completed chart rendered through through PDF engine.
RenderPSReturn chart rendered through EPS engine for ps, distiller
RenderSvgReturn completed chart rendered through SVG engine, or details of saved SVG file
RenderVmlReturn completed chart rendered through VML engine
ResetClear SharpPlot taking optional paper size (width,height in pts)
ResetKeyRemoves any accumulated key definitions
ResetPropertiesAll properties except trellis definitions are returns to default values.
SaveChartLogSave completed chart as a log file (for debugging)
SaveEpsSave completed chart rendered through EPS engine
SaveImageSave completed chart rendered through raster engine as an image file
SavePdfSaves completed chart to be rendered with Acrobat Reader.
SavePSSave chart rendered through EPS engine for ps, distiller
SaveSvgSave completed chart rendered through SVG engine, or details of saved SVG file
SaveVmlSave completed chart rendered through VML engine
SetAltitudeColorsSet colors for use by altitude shading
SetArrowStyleSet Arrow format given any of (Arrow size, sweep angle, fill pattern)
SetAxisStyleSet Axis format given any of color, lineStyle and lineweight (pts)
SetBackgroundSet Paper shading style from any of fill-color, fill-style, edge-width (pts)
SetBarWidthsSet Bar widths
SetCaptionFontSet Caption font given any of fontname, point-size, style, color
SetCellSizeSet Cellsize (width,height) from xvalue and yvalue
SetChartBackgroundSet Chart background shading style from any of fill-color, fill-style, edge-width (pts)
SetChartNameAssign a non-default name to the current chart
SetColorsSet colors for use by upcoming data series
SetContourStyleSet Contour format given any of color, lineStyle and lineweight (pts)
SetContourTagFontSet ContourTag font given any of fontname, point-size, style, color
SetDataWindowWindow for data from an array of integers
SetDatumLineStyleSet DatumLine style given any of color, lineStyle and lineweight (pts)
SetEdgeStyleSet Edge format given any of color, lineStyle and lineweight (pts)
SetEffectsEffect list for use by upcoming data series
SetFillStylesFill Patterns for use by upcoming data series
SetFootnoteFontSet Footnote font given any of fontname, point-size, style, color
SetFrameBackgroundSet Frame background shading style from any of fill-color, fill-style, edge-width (pts)
SetGridLineStyleSet Gridline format given any of color, lineStyle and lineweight (pts)
SetHeadingFontSet Heading font given any of fontname, point-size, style, color
SetHeadingNudgeSet Heading nudge from displacements (right,up)
SetILabelsSet I labels given a string array or a simple string
SetILabelFontSet Inner label font given any of fontname, point-size, style, color
SetIRangeSet I axis range given one or two elements
SetITickMarksSet I tick marks
SetIZonesSet I zones
SetKeyBackgroundSet Key background shading style from any of fill-color, fill-style, edge-width (pts)
SetKeyFontSet Key font given any of fontname, point-size, style, color
SetKeyFrameKey frame (ltwh in pts) Frame given top corner and size
SetKeyNudgeSet Key nudge from displacements (right,up)
SetKeyTextSet Legends for key given a string array, a simple string, or a numeric array
SetLabelFontSet Label font given any of fontname, point-size, style, color
SetLineStylesSet line-styles for use by upcoming data series
SetMarginsSet all four chart margins (in pts) in one call (a single value sets all four to the same)
SetMarkersSet marker cycle for use by upcoming data series
SetMarkerScalesSet Marker scales
SetNoteBackgroundSet Note background shading style from any of fill-color, fill-style, edge-width (pts)
SetNoteFontSet Note font given any of fontname, point-size, style, color
SetNoteNudgeSet Note nudge from displacements (right,up)
SetOrderOfFitSet Order of fit given one or two integers
SetPageLabelsSet Page-labels given a string array or a simple string
SetPenWidthsSet line-widths for use by upcoming data series
SetPieCenterSet Pie centre (xy) from xvalue and yvalue
SetSelectionSet Selection mask for data
SetSeriesNamesAssign a non-default name or names to the upcoming data series
SetSubheadingFontSet Subheading font given any of fontname, point-size, style, color
SetTablePositionSet Table position from x,y and optional width
SetTowerFillStylesSet Tower ptns (top,face,edge) from any standard FillStyle
SetTrellisTrellis layout (cells down, cells across) or total cell count
SetValueFontSet Value tag font given any of fontname, point-size, style, color
SetValueNudgeSet Value nudge from displacements (right,up)
SetValueTagsSet Value tags given a string array, a simple string, or a numeric array
SetViewpointSet 3D viewpoint given a set of roll,pitch,yaw values
SetWallFillStylesSet Wall patterns (YZ,XZ,XY) from any standard FillStyle
SetWeightingsSet Weights for modelfit
SetXCaptionFontSet X Caption font given any of fontname, point-size, style, color
SetXDatumLinesSet X datum line(s)
SetXLabelsSet X labels given a string array, a simple string, or a numeric array
SetXLabelFontSet X label font given any of fontname, point-size, style, color
SetXRangeSet X axis range given one or two elements
SetXTickLengthsX tick lengths (percent) from an array of integers
SetXTickMarksSet X tick marks given a tickmark specification
SetXZonesSet X zone
SetYCaptionFontSet Y Caption font given any of fontname, point-size, style, color
SetYDatumLinesSet Y datum line(s)
SetYLabelsSet Y labels given a string array, a simple string, or a numeric array
SetYLabelFontSet Y label font given any of fontname, point-size, style, color
SetYRangeSet Y axis range given one or two elements
SetYTickLengthsY-tick lengths (percent) from an array of integers
SetYTickMarksSet Y tick marks given a tickmark specification
SetYZonesSet Y zone
SetZCaptionFontSet Z Caption font given any of fontname, point-size, style, color
SetZLabelsSet Z labels given a string array or a simple string
SetZLabelFontSet Z label font given any of fontname, point-size, style, color
SetZRangeSet Z axis range given one or two elements
SetZTickMarksSet Z tick marks given a tickmark specification
SplitByEnables data to be split according to some criterion prior to plotting.

Requirements

Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)