Class ChartExtensionUtils
Contains Chart extension methods.
Inheritance
System.Object
ChartExtensionUtils
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public static class ChartExtensionUtils : Object
Methods
DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
Declaration
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TSource> |
source |
|
System.Func<TSource, TKey> |
keySelector |
|
Returns
Type |
System.Collections.Generic.IEnumerable<TSource> |
Type Parameters
FromOADate(Double)
Returns a DateTime equivalent to the specified OLE Automation Date.
Declaration
public static DateTime FromOADate(this double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Max(IEnumerable<ChartSeriesBase>, Func<ChartSeriesBase, Double>)
Declaration
public static ChartSeriesBase Max(this IEnumerable<ChartSeriesBase> source, Func<ChartSeriesBase, double> selector)
Parameters
Returns
SetStrokeDashArray(UIElementsRecycler<Line>)
Declaration
public static void SetStrokeDashArray(UIElementsRecycler<Line> lineRecycler)
Parameters
Sum(IEnumerable<DoubleRange>)
Returns sum of DoubleRange
Declaration
public static DoubleRange Sum(this IEnumerable<DoubleRange> ranges)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<DoubleRange> |
ranges |
Collection of DoubleRange
|
Returns
ToOADate(DateTime)
Converts the value of this instance to the equivalent OLE Automation date.
Declaration
public static double ToOADate(this DateTime time)
Parameters
Type |
Name |
Description |
System.DateTime |
time |
|
Returns