Hi,
I know how to use CSS to change the color of a bar in AIMMS;
@color19-1: #808dc2;
.mixin-color(color19-1; @color19-1);
And in this way I can use “color-19-1” to set my bar for example to green or red.
Is there a way to use a gradient to color the bar? It is working for he background of a widget. But when I try the same logic on a bar in a chart it gets the default color.
background-image: linear-gradient(red, yellow);
![](https://uploads-eu-west-1.insided.com/aimms-en/attachment/746190df-9be9-4963-ba15-e1fb5be54552.png)
Best answer by Edo Nijmeijer
View original