menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartArea - API Reference

    Show / Hide Table of Contents

    Class ChartArea

    Inheritance
    System.Object
    EJTagHelper
    ChartArea
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartArea : EJTagHelper

    Constructors

    ChartArea()

    Declaration
    public ChartArea()

    Properties

    Background

    The background of the chart area that accepts value in hex and rgba as a valid CSS color string..

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

    The default value is "transparent"

    BackgroundImage

    The background image of the chart area that accepts value in string as url link or location of an image.

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

    The default value is null

    Border

    Options to customize the border of the chart area.

    Declaration
    public ChartBorder Border { get; set; }
    Property Value
    Type Description
    ChartBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    Opacity

    The opacity for background.

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

    The default value is 1

    Width

    Defines the width for the chart area element. Takes value in percentage and in pixel.

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

    The default value is null

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