Skip to main content
All docs
V24.2

DxSparkline Members

A component that visualizes value trends as an inline graph.

Constructors

Name Description
DxSparkline() Initializes a new instance of the DxSparkline class.

Properties

Name Description
ArgumentFieldName Specifies the data source field that populates arguments for series points.
BarNegativeColor Specifies the color of negative values in Bar series.
BarPositiveColor Specifies the color of positive values in Bar series.
BreakOnEmptyPoints Specifies whether the series should break on points with null values.
CssClass Assigns a CSS class to the DxSparkline component.
Data Specifies an object that supplies Sparkline data.
Enabled Specifies whether the Sparkline component responds to user interaction.
FirstLastColor Specifies the color of the first and last series points. This applies if the ShowFirstLast property is enabled.
Height Specifies the component height.
Id Specifies the component’s unique identifier.
LineColor Specifies the series color. Does not apply to Bar and WinLoss series types.
LineWidth Specifies the line width. Does not apply to Bar and WinLoss series types.
LossColor Specifies the color of bars that indicate values below the threshold in WinLoss series.
MaxColor Specifies the color for a series point with the maximum value. Applies if the ShowMinMax property is enabled.
MaxValue Specifies the component’s maximum value.
MinColor Specifies the color for a series point with the minimum value. Applies if the ShowMinMax property is enabled.
MinValue Specifies the component’s minimum value.
PointColor Specifies the inner color for series points. Does not apply to Bar and WinLoss series types.
PointSize Specifies the point size. Does not apply to Bar and WinLoss series types.
PointSymbol Specifies the shape of point markers. Does not apply to Bar and WinLoss series types.
ShowFirstLast Specifies whether the component highlights first and last series points.
ShowMinMax Specifies whether the component highlights points with minimum and maximum values.
Type Specifies the sparkline type.
ValueFieldName Specifies the data source field that populates values for series points.
Width Specifies the component width.
WinColor Specifies the color for bars that indicate values above the threshold value in WinLoss series.
WinLossThreshold Specifies the threshold value for WinLoss series.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToAsync(String, DataExportFormat) Exports sparkline data to a file in the specified format.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetSvgMarkupAsync() Gets the component’s SVG markup.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PrintAsync() Invokes the browser’s Print dialog.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Exported Fires after the Sparkline is exported.
Rendered Fires after the Sparkline is rendered.
See Also