Table of Contents

Class ISupportSeriesLineStyleExtensions

Namespace
SlapKit.Excel.Excel
Assembly
SlapKit.Excel.dll
public static class ISupportSeriesLineStyleExtensions
Inheritance
ISupportSeriesLineStyleExtensions
Inherited Members

Methods

GetPointLineStyles(ISupportSeriesPointLineStyle)

public static IEnumerable<KeyValuePair<uint, IXLDrawingLineWithArrow>> GetPointLineStyles(this ISupportSeriesPointLineStyle feature)

Parameters

feature ISupportSeriesPointLineStyle

Returns

IEnumerable<KeyValuePair<uint, IXLDrawingLineWithArrow>>

RemovePointLineStyle<T>(ISupportSeriesPointLineStyle<T>, uint)

public static T RemovePointLineStyle<T>(this ISupportSeriesPointLineStyle<T> feature, uint dataIndex) where T : IXLChartSeries

Parameters

feature ISupportSeriesPointLineStyle<T>
dataIndex uint

Returns

T

Type Parameters

T

SetLineStyle<T>(ISupportSeriesLineStyle<T>, Action<IXLDrawingLineWithArrow>)

Extension method that allows you to set the foreground color of the entire line, giving you control over the line's overall color scheme and making it stand out or blend in with the chart's design as needed.

public static T SetLineStyle<T>(this ISupportSeriesLineStyle<T> feature, Action<IXLDrawingLineWithArrow> setter) where T : IXLChartSeries

Parameters

feature ISupportSeriesLineStyle<T>

The series instance

setter Action<IXLDrawingLineWithArrow>

The series line style setter

Returns

T

Returns the series instance

Type Parameters

T

SetPointLineStyle<T>(ISupportSeriesPointLineStyle<T>, uint, Action<IXLDrawingLineWithArrow>)

Extension method that allows you to define the color of the line connecting two data points.

public static T SetPointLineStyle<T>(this ISupportSeriesPointLineStyle<T> feature, uint dataIndex, Action<IXLDrawingLineWithArrow> setter) where T : IXLChartSeries

Parameters

feature ISupportSeriesPointLineStyle<T>

The series instance

dataIndex uint

The line's position on a 1-based index

setter Action<IXLDrawingLineWithArrow>

The series line style setter

Returns

T

Returns the series instance

Type Parameters

T