Reference > Style examples > Framed axes

Framed 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 | BarChartStyle | BoxPlotStyle | GanttChartStyle | HistogramStyle | LineGraphStyle | MinMaxChartStyle | ScatterPlotStyle | StepChartStyle | TraceChartStyle | XBarChartStyle


Send comments on this topic
© Dyalog Ltd 2013