Class MarkerBase
Represents the MarkerBase class.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class MarkerBase : SparklineBase
Constructors
MarkerBase()
Initializes a new instance of the MarkerBase class.
Declaration
public MarkerBase()
Fields
AxisOriginProperty
The DependencyProperty for AxisOrigin property.
Declaration
public static readonly DependencyProperty AxisOriginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
AxisStyleProperty
The DependencyProperty for AxisStyle property.
Declaration
public static readonly DependencyProperty AxisStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LineStyleProperty
The DependencyProperty for LineStyle property.
Declaration
public static readonly DependencyProperty LineStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MarkerTemplateSelectorProperty
The DependencyProperty for MarkerTemplateSelector property.
Declaration
public static readonly DependencyProperty MarkerTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MarkerVisibilityProperty
The DependencyProperty for MarkerVisibility property.
Declaration
public static readonly DependencyProperty MarkerVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowAxisProperty
The DependencyProperty for ShowAxis property.
Declaration
public static readonly DependencyProperty ShowAxisProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowTrackBallProperty
The DependencyProperty for ShowTrackBall property.
Declaration
public static readonly DependencyProperty ShowTrackBallProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TrackBallStyleProperty
The DependencyProperty for TrackBallStyle property.
Declaration
public static readonly DependencyProperty TrackBallStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
XBindingPathProperty
The DependencyProperty for XBindingPath property.
Declaration
public static readonly DependencyProperty XBindingPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.Style |
LineStyle
Gets or sets line style for track ball.
Declaration
public Style LineStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
MarkerTemplateSelector
Gets or sets marker template selector to customize the each markers
Declaration
public TemplateSelector MarkerTemplateSelector { get; set; }
Property Value
Type |
---|
TemplateSelector |
MarkerVisibility
Gets or sets the marker visibility.
Declaration
public Visibility MarkerVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Visibility |
ShowAxis
Gets or sets a value indicating whether to show/hide axis
Declaration
public bool ShowAxis { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowTrackBall
Gets or sets a value indicating whether to show track ball.
Declaration
public bool ShowTrackBall { get; set; }
Property Value
Type |
---|
System.Boolean |
TrackBallStyle
Gets or sets the track ball style.
Declaration
public Style TrackBallStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
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
AddMarker(Double, Double, Double, Double)
Add the marker.
Declaration
public void AddMarker(double screenPointX, double screenPointY, double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | screenPointX | The screen x position. |
System.Double | screenPointY | The screen y position. |
System.Double | x | The x value. |
System.Double | y | The y value. |
AddMarker(Point, Double, Double, Int32)
Adds marker to the sparkline.
Declaration
protected void AddMarker(Point pointToScreen, double x, double y, int index)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | pointToScreen | The Screen Point |
System.Double | x | The X Value |
System.Double | y | The Y Value |
System.Int32 | index | The Index |
AnimateSegments(UIElementCollection)
Animates the segments.
Declaration
protected override void AnimateSegments(UIElementCollection elements)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Controls.UIElementCollection | elements | The UI Element Collection |
Overrides
GeneratePoints(String)
Generates the data points for the marker base.
Declaration
protected override void GeneratePoints(string xPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | xPath | The X Path |
Overrides
OnApplyTemplate()
Applies the required template to the marker base.
Declaration
protected override void OnApplyTemplate()
Overrides
OnPointerMoved(PointerRoutedEventArgs)
Updates the pointer moved interactive behaviors for the marker.
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The Event Arguments |
Overrides
RemoveAxis()
Removes the axis.
Declaration
protected void RemoveAxis()
RenderSegments()
Renders the segments.
Declaration
protected override void RenderSegments()
Overrides
Reset()
Reset the marker.
Declaration
public override void Reset()
Overrides
SetIndividualPoints(Int32, Object, Boolean, String)
Sets the individual 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 | The Replace Require Check |
System.String | xPath | The X Path |
Overrides
UpdateHorizontalAxis()
Updates the horizontal axis.
Declaration
protected virtual void UpdateHorizontalAxis()