SharpPlot Tutorials > Style Examples > Frame Axes

Frame Axes

The axes are completed to form a frame around the chart. This style is supported by all the conventional 2D charts.


sp.LineGraphStyle = LineGraphStyles.FrameAxes;

This also prevents the axes from extending beyond the final tickmarks. This style is often combined with inward-pointing tickmarks. All chart elements (lines, markers etc) are clipped at the frame boundary regardless of whether Clipping is explicitly requested on any axes.

Note that the cropping is done by the graphics engine used to output the final chart. All engines except VML support cropping very well, so this style will not work as you expect in charts output to VML if any data points are outside the frame.

See also ...

SharpPlot Members | SharpPlot.BarChartStyle Property | SharpPlot.BoxPlotStyle Property | SharpPlot.GanttChartStyle Property | SharpPlot.HistogramStyle Property | SharpPlot.LineGraphStyle Property | SharpPlot.MinMaxChartStyle Property | SharpPlot.ScatterPlotStyle Property | SharpPlot.StepChartStyle Property | SharpPlot.TraceChartStyle Property | SharpPlot.XBarChartStyle Property


Send comments on this topic
© Dyalog Ltd 2016