Skip to main content

TooltipHintBehavior.ShowPointTooltip Property

Gets or sets whether the point tooltip is shown.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public bool ShowPointTooltip { get; set; }

Property Value

Type Description
Boolean

true, if the point tooltip is shown; otherwise, false.

Remarks

This example demonstrates how to set the ChartView hint behavior to a tooltip, and how to specify the tooltip hint properties.

  1. Set the ChartView.Hint property to the Hint object, with the Enabled property set to True.
  2. 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>

Show Pont Tooltip

See Also