Class FastBarBitmapSegment
Represents a chart segment which renders collection of points using writeablebitmap.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class FastBarBitmapSegment : ChartSegment, INotifyPropertyChanged
Constructors
FastBarBitmapSegment()
Called when instance created for FastBarBitmapSegment.
Declaration
public FastBarBitmapSegment()
FastBarBitmapSegment(ChartSeriesBase)
Called when instance created for FastBarBitmapSegment.
Declaration
public FastBarBitmapSegment(ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeriesBase | series | Specifies the instance of series. |
FastBarBitmapSegment(IList<Double>, IList<Double>, IList<Double>, IList<Double>, ChartSeriesBase)
Called when instance created for FastBarBitmapSegment.
Declaration
public FastBarBitmapSegment(IList<double> x1Values, IList<double> y1Values, IList<double> x2Values, IList<double> y2Values, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Double> | x1Values | specifies the x1 values. |
System.Collections.Generic.IList<System.Double> | y1Values | specifies the y1 values. |
System.Collections.Generic.IList<System.Double> | x2Values | specifies the x2 values. |
System.Collections.Generic.IList<System.Double> | y2Values | specifies the y2 values. |
ChartSeriesBase | series | instance of the series. |
Methods
CreateVisual(Size)
Used for creating UIElement for rendering this segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override UIElement CreateVisual(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | returns UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | returns UIElement |
Overrides
OnSizeChanged(Size)
Called whenever the segment's size changed. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size | Size of the panel. |
Overrides
SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>)
Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void SetData(IList<double> x1Values, IList<double> y1Values, IList<double> x2Values, IList<double> y2Values)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Double> | x1Values | Used to specify the segment x1 values |
System.Collections.Generic.IList<System.Double> | y1Values | Used to specify the segment y1 values |
System.Collections.Generic.IList<System.Double> | x2Values | Used to specify the segment x2 values |
System.Collections.Generic.IList<System.Double> | y2Values | Used to specify the segment y2 values |
Overrides
SetVisualBindings(Shape)
Method Implementation for set binding to ChartSegments properties.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Shapes.Shape | element | Windows.UI.Xaml.Shapes.Shape element to be bind. |
Overrides
Update(IChartTransformer)
Updates the segments based on its data point value. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Reresents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |