amcharts / export

Apache License 2.0
56 stars 33 forks source link

Legend items overlap #69

Closed thatsmeta closed 7 years ago

thatsmeta commented 7 years ago

Hi! Legend items overlap in exports when the font family is changed via CSS. See https://jsfiddle.net/kLr5qtmr/ and try exporting the chart. What can I do to prevent this? Any help is appreciated.

maertz commented 7 years ago

Please apply the font family as well on the chart instance. https://jsfiddle.net/kLr5qtmr/1/ I hope that helps.

thatsmeta commented 7 years ago

What do I do if my legend needs a different font family than the rest of the chart?

maertz commented 7 years ago

The legend has no dedicated option to change its font family, therefore the generated SVG does not contain such information from where the export plugin can grab from. I'm afraid it's the only option.

thatsmeta commented 7 years ago

Ok, thanks.