Class ChartExtensionUtils
Contains Chart extension methods.
Inheritance
System.Object
ChartExtensionUtils
Assembly: Syncfusion.SfChart.UWP.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
IntersectsWith(Rect, Rect)
Method used to gets or sets intersect of two rectangle.
Declaration
public static bool IntersectsWith(this Rect rect, Rect other)
Parameters
Type |
Name |
Description |
Windows.Foundation.Rect |
rect |
|
Windows.Foundation.Rect |
other |
|
Returns
Max(IEnumerable<ChartSeriesBase>, Func<ChartSeriesBase, Double>)
Declaration
public static ChartSeriesBase Max(this IEnumerable<ChartSeriesBase> source, Func<ChartSeriesBase, double> selector)
Parameters
Returns
Offset(Rect, Double, Double)
Method used to set the offset value.
Declaration
public static Rect Offset(this Rect rect, double x, double y)
Parameters
Type |
Name |
Description |
Windows.Foundation.Rect |
rect |
|
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Windows.Foundation.Rect |
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