I am inheriting a template made by a colleague who changed his job, to which I have to make a change in the bar graph, I know that the best thing would be to do the whole graph again, but now is not the time, I classify it as pending.
my question is the following: can the color of the first bar be overwritten with a script?
I leave the graph, thank you very much in advance!
There should be a script in the Scripts panel at the left sid of your screen which refers to this chart. Usually you can change the colors in the window that opens when you double click on this script. If this doesn’t work for you, please contact your local support department and we’ll be happy to help you.
In that case I have to see your specific setup to find a solution. Please contact your local support department and send them your datamapper and template so that we can help you.
It reads the chart configuration. Subsequently it sets the data property name for the line color and fill color. Next it assigns this property with a custom color value to first record in the data and writes the result back to the attribute used for the chart configuration.