Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HintBase Class

The base class for ChartView and PieChartView hints.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public abstract class HintBase :
    StyledElement

#Remarks

The HintBase class provides properties that enable hints in a chart (Enabled) and specify a gesture on which the chart shows the hint (ShowMode).

You can also manage hint behavior via code. Use the ShowHint and HideHint methods to display or hide hints in the chart.

Any time a hint is shown or hidden, the HintShown or HintHidden event occurs.

#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