| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Methods Structures Enumerations Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Style examples > Clamp lines to chart range Clamp lines to chart rangeThis style may be used in conjunction with ‘clipped’ to remove points outside the span of the axes, and to force any out-of-range lines to follow the edge of the chart. sp.YAxisStyle = YAxisStyles.ClampToAxis; It may also be used independently on the x and y-axes if required. If surface-fill is selected, then this style is automatically applied if you choose ‘clipped’ as the surface cannot be completed otherwise. See also ...SharpPlot Members | YAxisStyle Property |