We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date


I have an problem Syncfusion chart font family settings. Dosn't work these on settings in xaml code: 
<chart:SfChart Margin="0,20,0,0" HeightRequest="{Binding DeviceXResolution}" WidthRequest="{Binding DeviceYResolution}"> <chart:SfChart.Title> <chart:ChartTitle FontFamily="{DynamicResource FontFamilyBloggerSansMedium}" FontSize="24" Text="{Binding YearText}" /> </chart:SfChart.Title> <chart:SfChart.PrimaryAxis> <chart:CategoryAxis LabelPlacement="BetweenTicks"> <chart:CategoryAxis.Title> <chart:ChartAxisTitle FontFamily="{DynamicResource FontFamilyBloggerSansMedium}" Text="{extensions:Translate StorageInformationMonthsText}" /> </chart:CategoryAxis.Title> </chart:CategoryAxis> </chart:SfChart.PrimaryAxis> <chart:SfChart.SecondaryAxis> <chart:NumericalAxis Interval="50" LabelRotationAngle="-45"> <chart:NumericalAxis.Title> <chart:ChartAxisTitle Text="{extensions:Translate StorageInformationUploadNumberText}" /> </chart:NumericalAxis.Title> </chart:NumericalAxis> </chart:SfChart.SecondaryAxis> <chart:BarSeries CornerRadius="10" EnableTooltip="True" ItemsSource="{Binding StorageChartDatas}" LegendIcon="Rectangle" XBindingPath="Years" YBindingPath="DocumentsNumber" Color="{StaticResource color_hex_80c242}"> <chart:BarSeries.DataMarker> <chart:ChartDataMarker> <chart:ChartDataMarker.LabelStyle> <chart:DataMarkerLabelStyle FontFamily="{DynamicResource FontFamilyBloggerSansMedium}" /> </chart:ChartDataMarker.LabelStyle> </chart:ChartDataMarker> </chart:BarSeries.DataMarker> </chart:BarSeries> </chart:SfChart>

Can do someone help me?

1 Reply

MP Michael Prabhu M Syncfusion Team December 3, 2018 11:21 AM UTC

Hi Sandor, 
Greetings from Syncfusion.   
We have analyzed your query, we would like to inform you that DynamicResource feature only works for the object which is inherited from View and added in the visual tree. ChartTitle, DataMarkerLabelStyle, ChartAxisTitle are BindableObject and not a View, hence DynamicResource is not working for FontFamily property of ChartTitle. We have already logged a feature report for this. 

We don’t have any immediate plans to implement this feature.  At the planning stage for every release cycle, we review all open features.  We will let you know when this feature is implemented. 

Live Chat Icon For mobile
Up arrow icon