Power Chart - Coloured X Trace Pen Tag Names

Before I go down the JS rabbit hole to do this, has anyone else coloured the x-trace pen names properly to match their pen colour in the chart? (I vaguely remember a topic where someone posted this, but I haven’t been able to find it)

The fact that amCharts is just SVG is a bit depressing. Formatting font in SVGs is more work than should be required for some things

At the moment, it is so hard to read and link the pen names/values to the pens on the chart when they’re un-coloured :face_exhaling:

Here’s the Markdown component to set the xtrace tag colours to those in the legend. I don’t know if it works when the legend is “shrunk”…

Just copy and paste into your view.

Also, I don’t know what I’d do without Claude.ai… This is Claude’s first prompt response, well, the script part was

Edit: moved to here


1 Like