BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
commonSeriesOptions: { marker: { dataLabel: { font: { color: "black" } } } }...however this seems to do nothing. In fact, none of the dataLabel options seem to do anything - fill, shape, etc. have no effect. Also, changing the common series font color does not effect the labels. Based on another post on this forum, I tried to trigger an event to change the color on series render:
onSeriesRenders: function(args) {...this also did nothing.
for (i = 0; i < this.model.series.length; i++) {
this.model.series[i].marker.dataLabel.font.color = "#A6A6A6";
}
}
title: { text: "Example Title", font: { size: "16px" } }I'm not getting any Javascript debugger errors in any of these scenarios, so I'm at a loss for how to proceed. Any thoughts?
Hi Matthew Fekete,
Thanks for using Syncfusion products.
Please use below Code snippet to set fontsize of the Title:
title: { text: "Example Title", size: "16px" }
Please use below Event to set color of the Datalabel:
displayTextRendering: " onSeriesRenders"
Please let us know if you require further assistance on this.
Thanks,
Ramesh. G
Hi Matthew,
Thanks for the update.
Please use below code snippet in series to prevent overlapping of labels.
enableSmartLabels= true;
Please let us know if you require further assistance on this.
Thanks,
Ramesh. G