Add background options to datalabels
I am using a column chart in conjunction with a line chart. The problem is that the line intersects with datalabel of the column and makes it harder to read. See
It would be great if I could add a white background color to the datalabel and increase its readability.
what about adding backgroundColor to labels for plotLines?
It's always a good idea to put in some extra margin :)
Or indeed, just 3 days from when you posted that? (2.2.1 was just announced today?) :-)
PS: It will be part of the next maintenance release, probably not too many weeks from now.
Thanks, yes I agree that the padding is not optimal. It also happens with large font sizes. On disappearing labels, this probably relates to a bug with inverted series that we fixed last week.
Just a heads up Torstein. I've been messing around with that and found that if you set a small text size (e.g. 8px) then the box is poorly sized, with far too much top-padding. Also it would be nice to be able to set left & right padding separately to top & bottom.
Additionally, I have 3 data series and when I toggle them on/off by clicking on the series names in the legend, the datalabels don't always appear as they should, with whole series' of labels sometimes missing.
Great news Torstein! Any idea when we might see a new release of Highcharts? Would it be foolish of me to start using a copy of http://code.highcharts.com/master/highcharts.js now - do you consider it quite unstable/unfinished?
Is there somewhere where I can see more about what's upcoming in the next release?
I have a full - featured custom class that I would like to use to style my data labels. Currently, I have to use jQuery to do it, which sucks.
I would like to add my voice to this. I am rendering a pie chart and use simple a,b,c data labelling on the pie segments. I would like to be able to put a 'dot' image behind each label to make them easier to read.
It would be great to see a full range of data label formatting options.
The feature is extremely limited currently