How do I change a secondary chart's data label color?
To change a secondary chart's data label color, you will need to use custom CSS.
Under your dashboard settings, paste the following in the Custom CSS/JavaScript section.
<style>
[data-id="<enter-widget-data-id>"]
g.highcharts-data-labels.highcharts-series-1.highcharts-line-series.highcharts-color-1.highcharts-tracker > g > text
{fill: #6FDBCB !important;}
</style>
To find your widget's data ID, right click the widget and select 'Inspect'. Make sure you are on the Elements tab, and you should see your widget's data-id.
Change the hex color (bolded) to the color of your choice.
Please sign in to leave a comment.
0 comments