Hello.
I am trying to show tooltips in the chart, but I get a NullPointerException when doing tapping.
Here is my code:
<chart:SfChart VerticalOptions="FillAndExpand">
<chart:SfChart.ChartBehaviors>
<chart:ChartZoomPanBehavior/>
<chart:ChartTooltipBehavior/>
</chart:SfChart.ChartBehaviors>
<chart:SfChart.Title>
<chart:ChartTitle Text="{resources:Translate AmountSoldPerSalesperson}" Font="15"/>
</chart:SfChart.Title>
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis LabelPlacement="BetweenTicks" LabelsIntersectAction="MultipleRows" LabelRotationAngle="90"
EnableAutoIntervalOnZooming="False" Interval="1"/>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis Interval="50000" ShowMajorGridLines="False"/>
</chart:SfChart.SecondaryAxis>
<chart:SfChart.Series>
<chart:ColumnSeries ItemsSource="{Binding SalesPersonsSalesStats}" XBindingPath="SalesPersonName" YBindingPath="TotalAmount"
EnableTooltip="True" EnableDataPointSelection="True">
<chart:ColumnSeries.ColorModel>
<chart:ChartColorModel Palette="Custom">
<chart:ChartColorModel.CustomBrushes>
<Color>#4CADCD</Color>
<Color>#032335</Color>
</chart:ChartColorModel.CustomBrushes>
</chart:ChartColorModel>
</chart:ColumnSeries.ColorModel>
</chart:ColumnSeries>
</chart:SfChart.Series>
</chart:SfChart>
Thanks.
Fran.