HintBase.Enabled Property
Gets or sets whether the chart displays hints when a user taps chart, and when a hint is requested in code. This is a bindable property.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public bool Enabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Example
This example shows how to enable hints for a pie chart.
- Create a new PieHint object and assign it to the PieChartView.Hint property.
- Set the
Enabled
property to True. - Use the ShowMode property to specify a gesture on which the pie chart shows the hint.
<dxc:PieChartView>
<!--...-->
<dxc:PieChartView.Hint>
<dxc:PieHint Enabled="True" ShowMode="OnTap" />
</dxc:PieChartView.Hint>
</dxc:PieChartView>
See Also