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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FontFamily

Thread ID:

Created:

Updated:

Platform:

Replies:

141230 Nov 30,2018 10:19 AM UTC Dec 3,2018 11:21 AM UTC Xamarin.Forms 1
loading
Tags: SfChart
Sandor Sapi
Asked On November 30, 2018 10:19 AM UTC

Hi,
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?

Michael Prabhu M [Syncfusion]
Replied On 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. 
 
Regards, 
Michael 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon