AxisBase.HintOptions Property
Gets or sets an object that configures how the axis interacts with the Hint. This is a bindable property.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public AxisHintOptions HintOptions { get; set; }
Property Value
Type | Description |
---|---|
AxisHintOptions | The storage of settings that manage how the axis interacts with the Hint. |
Remarks
The hint uses this property when Hint.Behavior is set to CrosshairHintBehavior.
Example
This example configures the chart’s Hint as the following image shows:
<dxc:ChartView>
<dxc:ChartView.Hint>
<dxc:Hint ShowMode="OnTap">
<dxc:Hint.Behavior>
<dxc:CrosshairHintBehavior GroupHeaderVisible="false"/>
</dxc:Hint.Behavior>
</dxc:Hint>
</dxc:ChartView.Hint>
<dxc:ChartView.AxisY>
<dxc:NumericAxisY AlwaysShowZeroLevel="false">
<dxc:NumericAxisY.HintOptions>
<dxc:AxisHintOptions LineVisible="false"
LabelVisible="false"/>
</dxc:NumericAxisY.HintOptions>
</dxc:NumericAxisY>
</dxc:ChartView.AxisY>
<dxc:ChartView.Series>
<dxc:LineSeries DisplayName="Stock">
<dxc:LineSeries.Data>
<data:StockSeriesData ItemsSource="{Binding Prices}"/>
</dxc:LineSeries.Data>
<dxc:LineSeries.HintOptions>
<dxc:SeriesCrosshairOptions PointTextPattern="{}{S}: ${V$.2}"/>
</dxc:LineSeries.HintOptions>
</dxc:LineSeries>
</dxc:ChartView.Series>
</dxc:ChartView>
The table below lists classes and members the example above uses:
Symbol | Description |
---|---|
Gets or sets the chart hints. This is a bindable property. | |
Configures hints the the hints the ChartView displays. | |
Gets or sets the behavior of the hint. This is a bindable property. | |
Defines the crosshair hint behavior. | |
| Gets or sets an object that configures how the axis interacts with the Hint. This is a bindable property. |
Stores settings that specify how the axis interacts with the crosshair cursor. | |
| |
Stores the series’ crosshair cursor settings. |