Dear support,
Please i would like your assist on placing labels of my barchart over each bar and aligned on the left.
I've tried using the following code
<ContentPage.Resources>
<ResourceDictionary>
<DataTemplate x:Key="dataMarkerTemplate" >
<StackLayout Orientation="Horizontal">
<Label Text="{Binding Type}" VerticalOptions="Center" FontSize = "12" />
</StackLayout>
</DataTemplate>
</ResourceDictionary>
</ContentPage.Resources>
<chart:BarSeries ItemsSource="{Binding ChartData_BarChartData}" XBindingPath="Type" YBindingPath="Count" Width="0.5" Color="{Binding BarChartColor}" >
<chart:BarSeries.DataMarker >
<chart:ChartDataMarker ShowLabel="True" LabelTemplate="{StaticResource dataMarkerTemplate}">
<chart:ChartDataMarker.LabelStyle >
<chart:DataMarkerLabelStyle LabelPosition="Inner" OffsetY="-20" />
</chart:ChartDataMarker.LabelStyle>
</chart:ChartDataMarker>
</chart:BarSeries.DataMarker>
</chart:BarSeries>
The result from code, the labels are not aligned to the left side of the screen
Thank you in advance