menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartRangeColorSettingBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartRangeColorSettingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartRangeColorSettingBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartRangeColorSettingBuilder : ControlBuilder

    Constructors

    ChartRangeColorSettingBuilder()

    Declaration
    public ChartRangeColorSettingBuilder()

    ChartRangeColorSettingBuilder(List<ChartRangeColorSetting>)

    Declaration
    public ChartRangeColorSettingBuilder(List<ChartRangeColorSetting> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartRangeColorSetting> collection

    Methods

    Add()

    Declaration
    public void Add()

    Colors(String[])

    Specifies the fill colors for points that lie within the given range. If multiple colors are specified, a gradient will be applied.

    Declaration
    public ChartRangeColorSettingBuilder Colors(string[] colors)
    Parameters
    Type Name Description
    System.String[] colors
    Returns
    Type
    ChartRangeColorSettingBuilder

    End(Double)

    Specifies the end value of the color mapping range.

    Declaration
    public ChartRangeColorSettingBuilder End(double end)
    Parameters
    Type Name Description
    System.Double end
    Returns
    Type
    ChartRangeColorSettingBuilder

    Label(String)

    Specifies the name or label for the range mapping item.

    Declaration
    public ChartRangeColorSettingBuilder Label(string label)
    Parameters
    Type Name Description
    System.String label
    Returns
    Type
    ChartRangeColorSettingBuilder

    Start(Double)

    Specifies the start value of the color mapping range.

    Declaration
    public ChartRangeColorSettingBuilder Start(double start)
    Parameters
    Type Name Description
    System.Double start
    Returns
    Type
    ChartRangeColorSettingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved