PieSeriesHintOptions Class
Stores the pie series’ hint settings.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
Declaration
public class PieSeriesHintOptions :
SeriesHintOptionsBase
Related API Members
The following members return PieSeriesHintOptions objects:
Example
This example demonstrates how to set up the pie chart so that it shows a hint with the specified information when a user taps a data point.
- To show hints, set the pie chart’s Hint property to the PieHint object, and set this object’s Enabled property to True.
- To format values that hints display, assign the
PieSeriesHintOptions
object with the specified text pattern to the PieSeries.HintOptions property.
<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
Inheritance
Object
ChartElement
SeriesHintOptionsBase
PieSeriesHintOptions
See Also