menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class Chart

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    Chart
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Chart : EJTagHelper

    Constructors

    Chart()

    Declaration
    public Chart()

    Properties

    DataLabelSettings

    The data label for the series.

    Declaration
    public SpreadsheetDataLabelSettings DataLabelSettings { get; set; }
    Property Value
    Type Description
    SpreadsheetDataLabelSettings

    The default value is null

    Height

    Specifies the height of the chart.

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 290

    Id

    Specifies chart element id.

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Overrides
    Syncfusion.EJ2.EJTagHelper.Id

    IsSeriesInRows

    Specifies to switch the row or a column.

    Declaration
    public bool IsSeriesInRows { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Left

    Specifies the left side of the chart.

    Declaration
    public int Left { get; set; }
    Property Value
    Type
    System.Int32

    LegendSettings

    Options for customizing the legend of the chart.

    Declaration
    public SpreadsheetLegendSettings LegendSettings { get; set; }
    Property Value
    Type Description
    SpreadsheetLegendSettings

    The default value is null

    MarkerSettings

    Options to configure the marker

    Declaration
    public SpreadsheetMarkerSettings MarkerSettings { get; set; }
    Property Value
    Type Description
    SpreadsheetMarkerSettings

    The default value is null

    PrimaryXAxis

    Options to configure the horizontal axis.

    Declaration
    public SpreadsheetAxis PrimaryXAxis { get; set; }
    Property Value
    Type Description
    SpreadsheetAxis

    The default value is null

    PrimaryYAxis

    Options to configure the vertical axis.

    Declaration
    public SpreadsheetAxis PrimaryYAxis { get; set; }
    Property Value
    Type Description
    SpreadsheetAxis

    The default value is null

    Range

    Specifies the selected range or specified range.

    Declaration
    public string Range { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Theme

    Specifies the theme of a chart.

    Declaration
    public ChartTheme Theme { get; set; }
    Property Value
    Type Description
    ChartTheme

    The default value is ChartTheme.Material

    Title

    Title of the chart

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Top

    Specifies the top position of the chart.

    Declaration
    public int Top { get; set; }
    Property Value
    Type
    System.Int32

    Type

    Specifies the type of a chart.

    Declaration
    public ChartType Type { get; set; }
    Property Value
    Type Description
    ChartType

    The default value is ChartType.Line

    Width

    Specifies the width of the chart.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 480

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved