I have a bar chart component that has a client tag bound to the background color of the chart itself. Using a propertyChange script, I’m changing the background color of the bar chart legend to the same color as the background of the chart (for some reason these aren’t the same by default). The issue I run into is that this works just fine initially, but as soon as the data is updated it changes back to the default white background color. I’m a little confused as to why this happens when I only set the color once. Here’s the propertyChange script.
I’ve done this but as the data updates the legend color flashes momentarily from white to grey (the color I’m trying to set it to). Ideally I’d like to just set the color and have it stay that color without flashing.
I might be missing something but I’m not seeing a “Bar” chart type for the standard chart component. Part of the reason I’m currently using the bar chart component is that I want horizontal, layered bars. Is this available on any other components? If not is there any plan to add the configureChart extension function to all chart components in the future?
That worked perfectly, thank you! It took me a little bit of experimenting with the Chart component to get it all configured correctly, but I was able to create a chart that looked identical to the one I posted previously with the functionality I was after.