menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartExtensionUtils - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartExtensionUtils

    Contains Chart extension methods.

    Inheritance
    System.Object
    ChartExtensionUtils
    Namespace: Syncfusion.UI.Xaml.Charts
    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
    Name
    TSource
    TKey

    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
    Type
    System.DateTime

    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
    Type
    System.Boolean

    Max(IEnumerable<ChartSeriesBase>, Func<ChartSeriesBase, Double>)

    Declaration
    public static ChartSeriesBase Max(this IEnumerable<ChartSeriesBase> source, Func<ChartSeriesBase, double> selector)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<ChartSeriesBase> source
    System.Func<ChartSeriesBase, System.Double> selector
    Returns
    Type
    ChartSeriesBase

    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
    Type Name Description
    UIElementsRecycler<Windows.UI.Xaml.Shapes.Line> lineRecycler

    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
    Type
    DoubleRange

    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
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved