Back to Devexpress

PieSeriesHintOptions Class

maui-devexpress-dot-maui-dot-charts-3a85e1f8.md

latest2.7 KB
Original Source

PieSeriesHintOptions Class

Stores the pie series’ hint settings.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public class PieSeriesHintOptions :
    SeriesHintOptionsBase

The following members return PieSeriesHintOptions objects:

Example

This example sets up the pie chart so that it shows a hint with the specified information when a user taps a data point.

  1. To show hints, set the pie chart’s Hint property to the PieHint object, and set this object’s Enabled property to True.
  2. To format values that hints display, assign the PieSeriesHintOptions object with the specified text pattern to the PieSeries.HintOptions property.
xml
<dxc:PieChartView>
    <dxc:PieChartView.Hint>
        <dxc:PieHint Enabled="True"/>
    </dxc:PieChartView.Hint>
    <dxc:PieChartView.Series>
        <dxc:DonutSeries>
            <dxc:DonutSeries.HintOptions>
                <dxc:PieSeriesHintOptions PointTextPattern="{}{L}: {VP}%"/>
            </dxc:DonutSeries.HintOptions>
        </dxc:DonutSeries>
    </dxc:PieChartView.Series>
</dxc:PieChartView>

Implements

IElementController

INotifyPropertyChanged

Inheritance

System.Object BindableObject Element ChartElementBase ChartElement SeriesHintOptionsBase PieSeriesHintOptions

Extension Methods

Yield<PieSeriesHintOptions>()

YieldIfNotNull<PieSeriesHintOptions>()

See Also

PieSeriesHintOptions Members

DevExpress.Maui.Charts Namespace