Class ISupportSeriesSmoothLineExtensions
public static class ISupportSeriesSmoothLineExtensions
- Inheritance
-
ISupportSeriesSmoothLineExtensions
- Inherited Members
Methods
SetSmoothLine<T>(ISupportSeriesSmoothLine<T>, bool)
Extension method that allows you to toggle curve smoothing on or off, providing the option to render the line with a smoother, more aesthetically pleasing appearance, especially useful in charts with numerous or closely-spaced data points.
public static T SetSmoothLine<T>(this ISupportSeriesSmoothLine<T> feature, bool smoothLine = true) where T : IXLChartSeries
Parameters
featureISupportSeriesSmoothLine<T>The series instance
smoothLineboolToggles the line curve smoothing
Returns
- T
Returns the series instance
Type Parameters
T