WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BubbleSegment

    Show / Hide Table of Contents

    Class BubbleSegment

    Represents chart bubble segment.

    Inheritance
    System.Object
    ChartSegment
    BubbleSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.InteriorProperty
    ChartSegment.StrokeThicknessProperty
    ChartSegment.StrokeDashArrayProperty
    ChartSegment.StrokeProperty
    ChartSegment.SetData(IList<Double>, IList<Double>)
    ChartSegment.SetData(List<Double>, IList<Double>, Double, Double)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush, Int32)
    ChartSegment.SetData(List<Point>)
    ChartSegment.SetData(List<ChartPoint>)
    ChartSegment.SetData(Point, Point, Point, Point)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point)
    ChartSegment.SetData(Point, Point, Point, Point, Boolean)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point, Boolean)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.AlignHiLoSegment(Double, Double, Double, Double)
    ChartSegment.OnPropertyChanged(String)
    ChartSegment.XRange
    ChartSegment.YRange
    ChartSegment.Item
    ChartSegment.Interior
    ChartSegment.StrokeThickness
    ChartSegment.StrokeDashArray
    ChartSegment.Stroke
    ChartSegment.Series
    ChartSegment.PolygonPoints
    ChartSegment.IsEmptySegmentInterior
    ChartSegment.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class BubbleSegment : ChartSegment, INotifyPropertyChanged
    Remarks

    Class instance is created automatically by WINRT Chart building system.

    Constructors

    BubbleSegment()

    Called when instance created for BubbleSegment.

    Declaration
    public BubbleSegment()

    BubbleSegment(Double, Double, Double, BubbleSeries)

    Called when instance created for BubbleSegment.

    Declaration
    public BubbleSegment(double xPos, double yPos, double size, BubbleSeries series)
    Parameters
    Type Name Description
    System.Double xPos
    System.Double yPos
    System.Double size
    BubbleSeries series

    Properties

    RectX

    Gets or sets the x position of the segment rect.

    Declaration
    public double RectX { get; set; }
    Property Value
    Type Description
    System.Double

    RectY

    Gets or sets the y position of the segment rect.

    Declaration
    public double RectY { get; set; }
    Property Value
    Type Description
    System.Double

    SegmentRadius

    Gets or sets the segment radius in units of pixels.

    Declaration
    public double SegmentRadius { get; set; }
    Property Value
    Type Description
    System.Double

    Size

    Gets or sets the size of the bubble segment.

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    It will not render the segment as in given size, its based on the other segments(as proportionate).

    XData

    Gets the data point value, bind with x for this segment.

    Declaration
    public double XData { get; }
    Property Value
    Type Description
    System.Double

    YData

    Gets the data point value, bind with y for this segment.

    Declaration
    public double YData { get; }
    Property Value
    Type Description
    System.Double

    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
    System.Windows.Size size

    Size of the panel

    Returns
    Type Description
    System.Windows.UIElement

    retuns UIElement

    Overrides
    ChartSegment.CreateVisual(Size)

    GetRenderedVisual()

    Gets the UIElement used for rendering this segment.

    Declaration
    public override UIElement GetRenderedVisual()
    Returns
    Type Description
    System.Windows.UIElement

    reurns UIElement

    Overrides
    ChartSegment.GetRenderedVisual()

    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
    System.Windows.Size size
    Overrides
    ChartSegment.OnSizeChanged(Size)

    SetData(Double[])

    Sets the values for 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 void SetData(params double[] Values)
    Parameters
    Type Name Description
    System.Double[] Values
    Overrides
    ChartSegment.SetData(Double[])

    SetVisualBindings(Shape)

    Method implementation for Set Binding to visual elements.

    Declaration
    protected override void SetVisualBindings(Shape element)
    Parameters
    Type Name Description
    System.Windows.Shapes.Shape element
    Overrides
    ChartSegment.SetVisualBindings(Shape)

    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)

    Overrides
    ChartSegment.Update(IChartTransformer)

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    BubbleSeries
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved