Back to Devexpress

BubbleSeriesLabel Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-e932d2c5.md

latest3.2 KB
Original Source

BubbleSeriesLabel Class

Stores bubble series label settings.

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public class BubbleSeriesLabel :
    MarkerSeriesLabel

The following members return BubbleSeriesLabel objects:

Remarks

You can accompany series’ data points with labels to show point values as text on a chart:

To enable series labels, set the BubbleSeries.Label property to the BubbleSeriesLabel object, and use this object’s properties to adjust the label settings:

  • TextPattern - Formats series label text.
    A pattern includes regular text (which is displayed as is) and placeholder strings enclosed in braces. Placeholders define which values are shown in labels. You can use the following placeholders to specify the text pattern for bubble series’ labels:

  • Position, Angle, Indent - Specify how a label is positioned relative to a series point.

  • Style - Provides access to the SeriesLabelStyle object that stores label appearance settings (TextStyle).

  • Visible - Allows you to show or hide labels for the series.

  • Xaml

xml
<dxc:BubbleSeries>
    <dxc:BubbleSeries.Label>
        <dxc:BubbleSeriesLabel TextPattern="{}${W$#.##}B"
                               Position="Outside"
                               Angle="90"
                               Indent="12"/>
    </dxc:BubbleSeries.Label>
</dxc:BubbleSeries>

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyledElement SeriesLabel MarkerSeriesLabel BubbleSeriesLabel

See Also

BubbleSeriesLabel Members

DevExpress.XamarinForms.Charts Namespace