Class FastLineBitmapSeries
The FastLineBitmapSeries is a special kind of line series that can render a collection with a large number of data points.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public class FastLineBitmapSeries : XyDataSeries, INotifyPropertyChanged
Remarks
To render a series, create an instance of FastLineBitmapSeries class, and add it to the Series collection.
It provides options for Fill, PaletteBrushes, StrokeWidth, StrokeDashArray, and opacity to customize the appearance.
EnableTooltip - A tooltip displays information while tapping or mouse hovering over a segment. To display the tooltip on chart, need to set the EnableTooltip property as true in FastLineBitmapSeries class, and also refer TooltipBehavior property.
Data Label - Data labels are used to display values related to a chart segment. To render the data labels, you need to set the
Animation - To animate the series, set True to the EnableAnimation property.
LegendIcon - To customize the legend icon using the LegendIcon property.
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis/>
</chart:SfCartesianChart.XAxes>
<chart:SfCartesianChart.YAxes>
<chart:NumericalAxis/>
</chart:SfCartesianChart.YAxes>
<chart:FastLineBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfCartesianChart>
Constructors
FastLineBitmapSeries()
Declaration
public FastLineBitmapSeries()
Fields
EnableAntiAliasingProperty
Identifies the EnableAntiAliasing dependency property.
Declaration
public static readonly DependencyProperty EnableAntiAliasingProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for EnableAntiAliasing dependency property. |
StrokeDashArrayProperty
Identifies the StrokeDashArray dependency property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for StrokeDashArray dependency property. |
Properties
EnableAntiAliasing
Gets or sets a value indicating whether to enable smooth line drawing for FastLineBitmapSeries.
Declaration
public bool EnableAntiAliasing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts bool values and the default value is false. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:FastLineBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
EnableAntiAliasing = "True"/>
</chart:SfCartesianChart>
StrokeDashArray
Gets or sets the stroke dash array to customize the appearance of a line stroke.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Media.DoubleCollection | It accepts the Microsoft.UI.Xaml.Media.DoubleCollection value and the default value is null. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:FastLineBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
StrokeDashArray="5,3" />
</chart:SfCartesianChart>
Methods
OnPointerMoved(PointerRoutedEventArgs)
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e |
Overrides
OnTapped(TappedRoutedEventArgs)
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e |