# Syntax to change color of report time series chart legend

**URL:** <https://forum.inductiveautomation.com/t/syntax-to-change-color-of-report-time-series-chart-legend/99826>\
**Category:** Ignition\
**Tags:** ignition81, reporting\
**Created:** [December 13, 2024, 10:00pm UTC](https://forum.inductiveautomation.com/t/syntax-to-change-color-of-report-time-series-chart-legend/99826 "2024-12-13T22:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 13, 2024, 10:58pm UTC](https://forum.inductiveautomation.com/t/syntax-to-change-color-of-report-time-series-chart-legend/99826/2 "2024-12-13T22:58:39Z")

</div>

I'm assuming the limit in the legend is a fake item you're inserting, since the value marker is what's actually drawing the green line?

You could probably work off the example in this post to customize the rendered legend item; you won't need all this but it should get you started:

> [@EasyChart legend: increase key line width and change colours](https://forum.inductiveautomation.com/t/easychart-legend-increase-key-line-width-and-change-colours/15337/6):
>
> Well, that ended up being way more involved than I figured it would be. But because I enjoyed myself: (Preemptive disclaimer: Don’t even think of trying to call in to support if this doesn’t work for you) from org.jfree.chart.renderer.xy import XYLineAndShapeRenderer from org.jfree.chart import LegendItem legend = chart.getLegend() plot = chart.getPlot() renderer = plot.getRenderer() class CustomRenderer(XYLineAndShapeRenderer): def getLegendItem(self, dataset, series): original =…

---

_[View the full topic](https://forum.inductiveautomation.com/t/syntax-to-change-color-of-report-time-series-chart-legend/99826)._
