menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartSegmentBuilder

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

    Constructors

    ChartSegmentBuilder()

    Declaration
    public ChartSegmentBuilder()

    ChartSegmentBuilder(List<ChartSegment>)

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

    Methods

    Add()

    Declaration
    public void Add()

    Color(String)

    Defines the fill color for the region using a color name, hex code, or rgba value.

    Declaration
    public ChartSegmentBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color
    Returns
    Type
    ChartSegmentBuilder

    DashArray(String)

    Specifies the dash pattern for the stroke of the series. The string format allows defining various dash and gap lengths.

    Declaration
    public ChartSegmentBuilder DashArray(string dashArray)
    Parameters
    Type Name Description
    System.String dashArray
    Returns
    Type
    ChartSegmentBuilder

    Value(Object)

    Defines the starting point of region.

    Declaration
    public ChartSegmentBuilder Value(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    ChartSegmentBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved