Posted 2 July 2018, 9:00 pm EST
Data Labels in Excel supports series specific customization where as in Spread sheets it seems to be specific to the entire chart.
Forums Home / Spread / SpreadJS
Posted by: hghanta on 2 July 2018, 9:00 pm EST
Posted 2 July 2018, 9:00 pm EST
Data Labels in Excel supports series specific customization where as in Spread sheets it seems to be specific to the entire chart.
Posted 3 July 2018, 7:32 pm EST
Hello,
Series specific customization is not available for data labels, currently there are only few properties supported which works for all series:
//show dataLabels
var dataLabels = chart.dataLabels();
dataLabels.showValue = true;
dataLabels.showSeriesName = false;
dataLabels.showCategoryName = false;
var dataLabelPosition = GC.Spread.Sheets.Charts.DataLabelPosition;
dataLabels.position = dataLabelPosition.above;
chart.dataLabels(dataLabels);
I have submitted a feature request for future version of SpreadJS to have the support to customize data labels specific to series. The request id for this is #260315.
Thanks,
Deepak Sharma