Skip to main content

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

true, if the chart displays a hint; otherwise, false.

Example

This example shows how to enable hints for a pie chart.

  1. Create a new PieHint object and assign it to the PieChartView.Hint property.
  2. Set the Enabled property to True.
  3. 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>

Pie Chart Tooltips

See Also