ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Sparkline

    Show / Hide Table of Contents

    Class Sparkline

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    Sparkline
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.Id
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Sparkline : EJTagHelper

    Constructors

    Sparkline()

    Declaration
    public Sparkline()

    Properties

    AxisRendering

    Triggers before sparkline axis render.

    Declaration
    [HtmlAttributeName("axisRendering")]
    public string AxisRendering { get; set; }
    Property Value
    Type Description
    System.String

    AxisSettings

    To configure Sparkline container area customization.

    Declaration
    [HtmlAttributeName("axisSettings")]
    public SparklineAxisSettings AxisSettings { get; set; }
    Property Value
    Type Description
    SparklineAxisSettings

    Border

    To configure Sparkline points border color and width.

    Declaration
    [HtmlAttributeName("border")]
    public SparklineSparklineBorder Border { get; set; }
    Property Value
    Type Description
    SparklineSparklineBorder

    ClassName

    Declaration
    protected override string ClassName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ClassName

    ContainerArea

    To configure Sparkline container area customization.

    Declaration
    [HtmlAttributeName("containerArea")]
    public SparklineContainerArea ContainerArea { get; set; }
    Property Value
    Type Description
    SparklineContainerArea

    DataLabelRendering

    Triggers before the sparkline datalabel render.

    Declaration
    [HtmlAttributeName("dataLabelRendering")]
    public string DataLabelRendering { get; set; }
    Property Value
    Type Description
    System.String

    DataLabelSettings

    To configure Sparkline dataLabel configuration.

    Declaration
    [HtmlAttributeName("dataLabelSettings")]
    public SparklineSparklineDataLabelSettings DataLabelSettings { get; set; }
    Property Value
    Type Description
    SparklineSparklineDataLabelSettings

    DataSource

    To configure sparkline data source.

    Declaration
    [HtmlAttributeName("dataSource")]
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

    Declaration
    [HtmlAttributeName("enablePersistence")]
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    [HtmlAttributeName("enableRtl")]
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    EndPointColor

    To configure sparkline series last x value point color.

    Declaration
    [HtmlAttributeName("endPointColor")]
    public string EndPointColor { get; set; }
    Property Value
    Type Description
    System.String

    Fill

    To configure sparkline series fill.

    Declaration
    [HtmlAttributeName("fill")]
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    Format

    To apply internationalization for sparkline.

    Declaration
    [HtmlAttributeName("format")]
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    Height

    To configure Sparkline height.

    Declaration
    [HtmlAttributeName("height")]
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    HighPointColor

    To configure sparkline series highest y value point color.

    Declaration
    [HtmlAttributeName("highPointColor")]
    public string HighPointColor { get; set; }
    Property Value
    Type Description
    System.String

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    [HtmlAttributeName("htmlAttributes")]
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    IsFor

    Declaration
    protected override bool IsFor { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsFor

    LineWidth

    To configure sparkline line series width.

    Declaration
    [HtmlAttributeName("lineWidth")]
    public double LineWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Load

    Triggers before sparkline render.

    Declaration
    [HtmlAttributeName("load")]
    public string Load { get; set; }
    Property Value
    Type Description
    System.String

    Loaded

    Triggers after sparkline rendered.

    Declaration
    [HtmlAttributeName("loaded")]
    public string Loaded { get; set; }
    Property Value
    Type Description
    System.String

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    [HtmlAttributeName("locale")]
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    LowPointColor

    To configure sparkline series lowest y value point color.

    Declaration
    [HtmlAttributeName("lowPointColor")]
    public string LowPointColor { get; set; }
    Property Value
    Type Description
    System.String

    MarkerRendering

    Triggers before the sparkline marker render.

    Declaration
    [HtmlAttributeName("markerRendering")]
    public string MarkerRendering { get; set; }
    Property Value
    Type Description
    System.String

    MarkerSettings

    To configure Sparkline marker configuration.

    Declaration
    [HtmlAttributeName("markerSettings")]
    public SparklineSparklineMarkerSettings MarkerSettings { get; set; }
    Property Value
    Type Description
    SparklineSparklineMarkerSettings

    NameSpace

    Declaration
    protected override string NameSpace { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.NameSpace

    NegativePointColor

    To configure sparkline series negative y value point color.

    Declaration
    [HtmlAttributeName("negativePointColor")]
    public string NegativePointColor { get; set; }
    Property Value
    Type Description
    System.String

    Opacity

    To configure sparkline line series opacity.

    Declaration
    [HtmlAttributeName("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    Padding

    To configure Sparkline container area customization.

    Declaration
    [HtmlAttributeName("padding")]
    public SparklinePadding Padding { get; set; }
    Property Value
    Type Description
    SparklinePadding

    Palette

    To configure sparkline series color palette. It applicable to column and pie type series.

    Declaration
    [HtmlAttributeName("palette")]
    public string[] Palette { get; set; }
    Property Value
    Type Description
    System.String[]

    PointRegionMouseClick

    Triggers while mouse click on the sparkline point region.

    Declaration
    [HtmlAttributeName("pointRegionMouseClick")]
    public string PointRegionMouseClick { get; set; }
    Property Value
    Type Description
    System.String

    PointRegionMouseMove

    Triggers while mouse move on the sparkline point region.

    Declaration
    [HtmlAttributeName("pointRegionMouseMove")]
    public string PointRegionMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    PointRendering

    Triggers before sparkline points render.

    Declaration
    [HtmlAttributeName("pointRendering")]
    public string PointRendering { get; set; }
    Property Value
    Type Description
    System.String

    Query

    Specifies the query for filter the data.

    Declaration
    [HtmlAttributeName("query")]
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    RangeBandSettings

    To configure Sparkline axis line customization.

    Declaration
    [HtmlAttributeName("rangeBandSettings")]
    public List<SparklineRangeBandSetting> RangeBandSettings { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<SparklineRangeBandSetting>

    RangePadding

    To configure Sparkline series type.

    Declaration
    [HtmlAttributeName("rangePadding")]
    public SparklineRangePadding RangePadding { get; set; }
    Property Value
    Type Description
    SparklineRangePadding

    Resize

    Triggers on resizing the sparkline.

    Declaration
    [HtmlAttributeName("resize")]
    public string Resize { get; set; }
    Property Value
    Type Description
    System.String

    SeriesRendering

    Triggers before sparkline series render.

    Declaration
    [HtmlAttributeName("seriesRendering")]
    public string SeriesRendering { get; set; }
    Property Value
    Type Description
    System.String

    SparklineMouseClick

    Triggers while mouse click on the sparkline container.

    Declaration
    [HtmlAttributeName("sparklineMouseClick")]
    public string SparklineMouseClick { get; set; }
    Property Value
    Type Description
    System.String

    SparklineMouseMove

    Triggers while mouse move on the sparkline container.

    Declaration
    [HtmlAttributeName("sparklineMouseMove")]
    public string SparklineMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    StartPointColor

    To configure sparkline series first x value point color.

    Declaration
    [HtmlAttributeName("startPointColor")]
    public string StartPointColor { get; set; }
    Property Value
    Type Description
    System.String

    TagName

    Declaration
    protected override string TagName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.TagName

    Theme

    To configure sparkline theme.

    Declaration
    [HtmlAttributeName("theme")]
    public SparklineTheme Theme { get; set; }
    Property Value
    Type Description
    SparklineTheme

    TiePointColor

    To configure sparkline winloss series tie y value point color.

    Declaration
    [HtmlAttributeName("tiePointColor")]
    public string TiePointColor { get; set; }
    Property Value
    Type Description
    System.String

    TooltipInitialize

    Triggers before sparkline tooltip render.

    Declaration
    [HtmlAttributeName("tooltipInitialize")]
    public string TooltipInitialize { get; set; }
    Property Value
    Type Description
    System.String

    TooltipSettings

    To configure Sparkline tooltip settings.

    Declaration
    [HtmlAttributeName("tooltipSettings")]
    public SparklineSparklineTooltipSettings TooltipSettings { get; set; }
    Property Value
    Type Description
    SparklineSparklineTooltipSettings

    Type

    To configure Sparkline series type.

    Declaration
    [HtmlAttributeName("type")]
    public SparklineType Type { get; set; }
    Property Value
    Type Description
    SparklineType

    UseGroupingSeparator

    To enable the separator

    Declaration
    [HtmlAttributeName("useGroupingSeparator")]
    public bool UseGroupingSeparator { get; set; }
    Property Value
    Type Description
    System.Boolean

    ValueType

    To configure sparkline series value type.

    Declaration
    [HtmlAttributeName("valueType")]
    public SparklineValueType ValueType { get; set; }
    Property Value
    Type Description
    SparklineValueType

    Width

    To configure Sparkline width.

    Declaration
    [HtmlAttributeName("width")]
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    XName

    To configure sparkline series xName.

    Declaration
    [HtmlAttributeName("xName")]
    public string XName { get; set; }
    Property Value
    Type Description
    System.String

    YName

    To configure sparkline series yName.

    Declaration
    [HtmlAttributeName("yName")]
    public string YName { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved