Open perscode opened 8 years ago
I can't figure this one out. I'm looking at the examples that AmCharts provides on their site, and the fill color of the svg <text>
element that contains the legend text changes, but when I use the exact lib files they're using, the fill color is always black. They're instantiating the chart differently than I am, and I have run in to inconsistencies between their chart render methods in the past, so this could be related to that. I'll post back if I figure anything out.
When adding legend to a pie chart the theme doesn't apply to the legend text. using your fiddle (http://jsfiddle.net/w3vpc35o/226/), changing the theme to dark (for example) and adding the following: "legend":{ "position":"right", "marginRight":100, "autoMargins":false }
results in a legend text being displayed with the light theme font color but the pie-chart font in the dark theme.
Is there an easy fix for this or am I simply doing it wrong?
Thank you for an amazing angular port!