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
close icon

DataLabels Font on a Chart

Hi,

I'm using the SyncFusion 8.204.0.18 Library.
I Want to know how I can change the DataLabels font of a Chart's serie.
I use this code but even if the properties are well set it has no effect on the Excel File:
graphSerie.DataPoints.DefaultDataPoint.DataLabels.BeginUpdate();
graphSerie.DataPoints.DefaultDataPoint.DataLabels.FontName = xlChart.PrimaryCategoryAxis.Font.FontName;
graphSerie.DataPoints.DefaultDataPoint.DataLabels.Bold = xlChart.PrimaryCategoryAxis.Font.Bold;
graphSerie.DataPoints.DefaultDataPoint.DataLabels.Color = xlChart.PrimaryCategoryAxis.Font.Color;
graphSerie.DataPoints.DefaultDataPoint.DataLabels.Size = xlChart.PrimaryCategoryAxis.Font.Size;
graphSerie.DataPoints.DefaultDataPoint.DataLabels.EndUpdate();


1 Reply

SR Sridhar Syncfusion Team April 27, 2011 05:16 AM UTC

Hi Frederic,

Thank you very much for using Syncfusion products.

We are able to reproduce the reported issue at our side and suspect this could be a defect.

So we request you to open a new direct-trac incident with a simple issue reproducing sample for further follow up on this issue.

Direct-Trac Link:

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please, let us know if you require any further clarifications.

Thanks,
Sridhar.S



Loader.
Live Chat Icon For mobile
Up arrow icon