Class FastScatterBitmapSeries
The FastScatterBitmapSeries is a special kind of scatter series that can render a collection with large number of data points.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public class FastScatterBitmapSeries : XyDataSeries, INotifyPropertyChanged
Remarks
To render a series, create an instance of FastScatterBitmapSeries class, and add it to the Series collection.
It provides options for Fill, PaletteBrushes, Stroke,
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 FastScatterBitmapSeries 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:FastScatterBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfCartesianChart>
Constructors
FastScatterBitmapSeries()
Declaration
public FastScatterBitmapSeries()
Fields
PointHeightProperty
Identifies the PointHeight dependency property.
Declaration
public static readonly DependencyProperty PointHeightProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for PointHeight dependency property. |
PointWidthProperty
Identifies the PointWidth dependency property.
Declaration
public static readonly DependencyProperty PointWidthProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for PointWidth dependency property. |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
TypeProperty
Identifies the Type dependency property.
Declaration
public static readonly DependencyProperty TypeProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for Type dependency property. |
Properties
PointHeight
Gets or sets a value that specifies the height of the FastScatterBitmap segment.
Declaration
public double PointHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts double value and the default value is 3. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:FastScatterBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
PointHeight = "30"/>
</chart:SfCartesianChart>
PointWidth
Gets or sets a value that specifies the width of the FastScatterBitmap segment.
Declaration
public double PointWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts double value and the default value is 3. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:FastScatterBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
PointWidth = "30"/>
</chart:SfCartesianChart>
Stroke
Gets or sets a value to customize the stroke appearance of a chart series.
Declaration
public Brush Stroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Media.Brush | It accepts Microsoft.UI.Xaml.Media.Brush values and its default value is null. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Stroke = "Red"
StrokeWidth = "3"/>
</chart:SfCartesianChart>
Type
Gets or sets different types of shapes in a fast scatter bitmap series.
Declaration
public ShapeType Type { get; set; }
Property Value
Type | Description |
---|---|
ShapeType | This property accepts ShapeType values, and the default shape type is ellipse. |
Remarks
Fast scatter bitmap series does not support Custom, HorizontalLine and VerticalLine shapes. By using the above shapes for the fast scatter bitmap series, you can render only the default type, which is an ellipse.
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:FastScatterBitmapSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Type = "Diamond"/>
</chart:SfCartesianChart>
Methods
OnPointerMoved(PointerRoutedEventArgs)
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e |