Class Sparkline
Inheritance
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
public string AxisRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
AxisSettings
To configure Sparkline container area customization.
Declaration
public SparklineAxisSettings AxisSettings { get; set; }
Property Value
Type | Description |
---|---|
SparklineAxisSettings | The default value is null |
Border
To configure Sparkline points border color and width.
Declaration
public SparklineSparklineBorder Border { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineBorder | The default value is null |
ContainerArea
To configure Sparkline container area customization.
Declaration
public SparklineContainerArea ContainerArea { get; set; }
Property Value
Type | Description |
---|---|
SparklineContainerArea | The default value is null |
DataLabelRendering
Triggers before the sparkline datalabel render.
Declaration
public string DataLabelRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
DataLabelSettings
To configure Sparkline dataLabel configuration.
Declaration
public SparklineSparklineDataLabelSettings DataLabelSettings { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineDataLabelSettings | The default value is null |
DataSource
To configure sparkline data source.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
EnablePersistence
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EndPointColor
To configure sparkline series last x value point color.
Declaration
public string EndPointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Fill
To configure sparkline series fill.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#00bdae" |
Format
To apply internationalization for sparkline.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Height
To configure Sparkline height.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
HighPointColor
To configure sparkline series highest y value point color.
Declaration
public string HighPointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
---|
System.Object |
LineWidth
To configure sparkline line series width.
Declaration
public double LineWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Load
Triggers before sparkline render.
Declaration
public string Load { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Loaded
Triggers after sparkline rendered.
Declaration
public string Loaded { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
LowPointColor
To configure sparkline series lowest y value point color.
Declaration
public string LowPointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
MarkerRendering
Triggers before the sparkline marker render.
Declaration
public string MarkerRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
MarkerSettings
To configure Sparkline marker configuration.
Declaration
public SparklineSparklineMarkerSettings MarkerSettings { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineMarkerSettings | The default value is null |
NegativePointColor
To configure sparkline series negative y value point color.
Declaration
public string NegativePointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Opacity
To configure sparkline line series opacity.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Padding
To configure Sparkline container area customization.
Declaration
public SparklinePadding Padding { get; set; }
Property Value
Type | Description |
---|---|
SparklinePadding | The default value is null |
Palette
To configure sparkline series color palette. It applicable to column and pie type series.
Declaration
public string[] Palette { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
PointRegionMouseClick
Triggers while mouse click on the sparkline point region.
Declaration
public string PointRegionMouseClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
PointRegionMouseMove
Triggers while mouse move on the sparkline point region.
Declaration
public string PointRegionMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
PointRendering
Triggers before sparkline points render.
Declaration
public string PointRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Query
Specifies the query for filter the data.
Declaration
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
RangeBandSettings
To configure Sparkline axis line customization.
Declaration
public List<SparklineRangeBandSetting> RangeBandSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Syncfusion.EJ2.Charts.SparklineRangeBandSetting> | The default value is null |
RangePadding
To configure Sparkline series type.
Declaration
public SparklineRangePadding RangePadding { get; set; }
Property Value
Type | Description |
---|---|
SparklineRangePadding | The default value is SparklineRangePadding.None |
Resize
Triggers on resizing the sparkline.
Declaration
public string Resize { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SeriesRendering
Triggers before sparkline series render.
Declaration
public string SeriesRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SparklineMouseClick
Triggers while mouse click on the sparkline container.
Declaration
public string SparklineMouseClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SparklineMouseMove
Triggers while mouse move on the sparkline container.
Declaration
public string SparklineMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
StartPointColor
To configure sparkline series first x value point color.
Declaration
public string StartPointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Theme
To configure sparkline theme.
Declaration
public SparklineTheme Theme { get; set; }
Property Value
Type | Description |
---|---|
SparklineTheme | The default value is SparklineTheme.Material |
TiePointColor
To configure sparkline winloss series tie y value point color.
Declaration
public string TiePointColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
TooltipInitialize
Triggers before sparkline tooltip render.
Declaration
public string TooltipInitialize { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
TooltipSettings
To configure Sparkline tooltip settings.
Declaration
public SparklineSparklineTooltipSettings TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineTooltipSettings | The default value is null |
Type
To configure Sparkline series type.
Declaration
public SparklineType Type { get; set; }
Property Value
Type | Description |
---|---|
SparklineType | The default value is SparklineType.Line |
UseGroupingSeparator
To enable the separator.
Declaration
public bool UseGroupingSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ValueType
To configure sparkline series value type.
Declaration
public SparklineValueType ValueType { get; set; }
Property Value
Type | Description |
---|---|
SparklineValueType | The default value is SparklineValueType.Numeric |
Width
To configure Sparkline width.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
XName
To configure sparkline series xName.
Declaration
public string XName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
YName
To configure sparkline series yName.
Declaration
public string YName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |