TooltipHintBehavior Class
Defines the tooltip behavior.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
Declaration
public class TooltipHintBehavior :
HintBehavior
Example
This example demonstrates how to set the ChartView hint behavior to tooltip, and how to specify the tooltip hint properties.
- Set the ChartView.Hint property to the Hint object, with the Enabled property set to True.
- Assign the
TooltipHintBehavior
object to the Hint.Behavior property. Specify whether you want point tooltips and series tooltips displayed on the chart. At one moment, only one tooltip can be displayed.
<dxc:ChartView>
<!--...-->
<dxc:ChartView.Hint>
<dxc:Hint Enabled="True">
<dxc:Hint.Behavior>
<dxc:TooltipHintBehavior ShowPointTooltip="True" ShowSeriesTooltip="True"/>
</dxc:Hint.Behavior>
</dxc:Hint>
</dxc:ChartView.Hint>
</dxc:ChartView>
Implements
Inheritance
Object
ChartElement
HintBehavior
TooltipHintBehavior
See Also