Bar Chart title color

Hello everyone,

is any way to change the bar chart title color?

thakns you

Is there any update on how to change the bar chart title color in Vision?

Thanks

It's pretty simple to scipt. Just get the title directly from the chart, and set the paint to whatever color you want.
Here is an example script:

from java.awt import Color
chartComponent = system.gui.getParentWindow(event).getComponentForPath('Root Container.Bar Chart')
chart = chartComponent.chart
title = chart.title
title.setPaint(Color.BLUE)

Result:
image

1 Like