Easy Chart - Legend Text and Background Color control

I am configuring the Easy trend in 7.8 and I can not find how to set the Legend text and background colors. Is this possible in this version?


You can access these properties through the chart’s configureChart extension function. Ignition’s charts are implentations of the JFreeChart library, so there are many resources online for configuration.

With the configureChart function you could do something like this:

chart.legend.setItemPaint() chart.legend.setItemFont()

You will need to supply java.awt Font and Paint objects to use these functions.

import java.awt

# this will set the background of the legend black

# this will set the font color of the legend to white