# The Pie Chart Legend Label doesn't accept the CSS variable

**URL:** <https://forum.inductiveautomation.com/t/the-pie-chart-legend-label-doesnt-accept-the-css-variable/97650>\
**Category:** Ignition Early Access\
**Created:** [October 23, 2024, 7:33am UTC](https://forum.inductiveautomation.com/t/the-pie-chart-legend-label-doesnt-accept-the-css-variable/97650 "2024-10-23T07:33:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 23, 2024, 12:13pm UTC](https://forum.inductiveautomation.com/t/the-pie-chart-legend-label-doesnt-accept-the-css-variable/97650/3 "2024-10-23T12:13:59Z")

</div>

> [@Perspective Css-Theme-Variable not working on all Controls](https://forum.inductiveautomation.com/t/perspective-css-theme-variable-not-working-on-all-controls/66629/2):
>
> This is a problem with the chart components in general. They are bought in or adapted from AM Charts, for example, and may have SVG components that don't reference the CSS. We allow users to select a theme on all our projects - usually just the built-in themes. My workaround for the charts has been to set up a session.custom.config section and add the necessary colors there that mimic the CSS theme colors. [Session custom theme] I used the ColorZilla plugin for Google Chrome to read/pick the …

---

_[View the full topic](https://forum.inductiveautomation.com/t/the-pie-chart-legend-label-doesnt-accept-the-css-variable/97650)._
