HintBase.Enabled Property
Gets or sets whether the chart displays hints when a user taps chart, and when a hint is requested in code.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
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