Class SfColumnSparkline
Represents the SfColumnSparkline class.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class SfColumnSparkline : ColumnBase
Constructors
SfColumnSparkline()
Initializes a new instance of the SfColumnSparkline class.
Declaration
public SfColumnSparkline()
Fields
AxisOriginProperty
The DependencyProperty for AxisOrigin property.
Declaration
public static readonly DependencyProperty AxisOriginProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AxisStyleProperty
The DependencyProperty for AxisStyle property.
Declaration
public static readonly DependencyProperty AxisStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SegmentTemplateSelectorProperty
The DependencyProperty for SegmentTemplateSelector property.
Declaration
public static readonly DependencyProperty SegmentTemplateSelectorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowAxisProperty
The DependencyProperty for ShowAxis property.
Declaration
public static readonly DependencyProperty ShowAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
XBindingPathProperty
The DependencyProperty for XBindingPath property.
Declaration
public static readonly DependencyProperty XBindingPathProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AxisOrigin
Gets or sets axis origin
Declaration
public double AxisOrigin { get; set; }
Property Value
Type |
---|
System.Double |
AxisStyle
Gets or sets the axis line style.
Declaration
public Style AxisStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
SegmentTemplateSelector
Gets or sets the segment template selector to customize the each segments.
Declaration
public TemplateSelector SegmentTemplateSelector { get; set; }
Property Value
Type |
---|
TemplateSelector |
ShowAxis
Gets or sets a value indicating whether to show axis.
Declaration
public bool ShowAxis { get; set; }
Property Value
Type |
---|
System.Boolean |
XBindingPath
Gets or sets the property path of the x data in ItemsSource.
Declaration
public string XBindingPath { get; set; }
Property Value
Type |
---|
System.String |
Methods
GeneratePoints(String)
Generates the data points.
Declaration
protected override void GeneratePoints(string xPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | xPath | The X Path |
Overrides
RemoveAxis()
Removes the axis for the SfColumnSparkline.
Declaration
protected void RemoveAxis()
RenderSegments()
Renders the SfColumnSparkline segments.
Declaration
protected override void RenderSegments()
Overrides
SetIndividualPoints(Int32, Object, Boolean, String)
Sets the individual data points.
Declaration
protected override void SetIndividualPoints(int index, object obj, bool replace, string xPath)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The Index |
System.Object | obj | The Object |
System.Boolean | replace | Replace Indication |
System.String | xPath | The X Path |
Overrides
UpdateHorizontalAxis()
Updates the horizontal axis for the SfColumnSparkline
Declaration
protected virtual void UpdateHorizontalAxis()
UpdateMinMaxValues()
Updates the minimum and maximum values.
Declaration
protected override void UpdateMinMaxValues()