Treemap textShadow of dataLabels #5849

PaulDalek opened this Issue Oct 20, 2016 · 1 comment


None yet

2 participants



In Highcharts v5.0.0 text shadows of data labels in treemap exported to PNG, JPEG or PDF looks duplicated. When exporting to SVG shadow does not appear. In the previous version (v4.2.7) text shadows look normal. Probably related to #3649.

Live demo with steps to reproduce - v5.0.0 - v4.2.7

@TorsteinHonsi TorsteinHonsi changed the title from Treemap textShdow of dataLabels to Treemap textSahdow of dataLabels Oct 21, 2016
@TorsteinHonsi TorsteinHonsi changed the title from Treemap textSahdow of dataLabels to Treemap textShadow of dataLabels Oct 21, 2016

Thanks for reporting!

It's not specific to tree maps, happens in general:

It has probably got to do with PhantomJS and how it handles scaling the export.

Internal note:
Under any circumstance, it will probably be a good idea, both because of performance and simplicity, to replace the text shadow polyfill with a simple, underlying text element with greater stroke. When we first implemented the text shadow polyfill we used more fuzzy shadows, so that was not an option.

@TorsteinHonsi TorsteinHonsi added the Bug label Oct 21, 2016
@TorsteinHonsi TorsteinHonsi added this to the 5.0.2 milestone Oct 21, 2016
@TorsteinHonsi TorsteinHonsi added a commit that closed this issue Nov 18, 2016
@TorsteinHonsi TorsteinHonsi Added now CSS custom property, `textOutline`, and at the same time re…
…moved the `textShadow` shim. Closes #5849.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment