@Ganesan Can you give me access to the zip file pls?
Hi Mario,
The requested file was removed from our database because of the longer period of time. So, we request that you check our most recent help guidelines for the topic being discussed.
https://help.syncfusion.com/wpf/charts/axis#axis-labels
Moreover, the described earlier approach involved adding the following code snippet to the axis labels' template to customize margin.
<ResourceDictionary> <DataTemplate x:Key="LabelTemplate"> <TextBlock Text="{Binding}" Margin="0,4,0,0"/> </DataTemplate> <DataTemplate x:Key="LabelTemplate1"> <TextBlock Text="{Binding}" Margin="4,0,0,0"/> </DataTemplate> </ResourceDictionary> . . . <syncfusion:SfChart.PrimaryAxis> <syncfusion:CategoryAxis LabelTemplate="{StaticResource LabelTemplate}"/> </syncfusion:SfChart.PrimaryAxis> <syncfusion:SfChart.SecondaryAxis> <syncfusion:NumericalAxis LabelTemplate="{StaticResource LabelTemplate1}" /> </syncfusion:SfChart.SecondaryAxis> |
Regards,
Saravanan.