I am trying to understand if I am running into a bug or intended behavior in the coloring of the bar chart widget….
I have three sets:
- StoragePositions
- Days
- Products
I have a parameter supply that is defined over these three sets
Furthermore, I have a an element parameter that allows me to select a specific storage position in the GUI.
If the supply is only provided for one product, the bars in the widget show different colors (which is NOT what I would expect, because I set the product index in the grouped, or stacked, same behavior) part of the pivot in the widget settings:
If there is one more other product during the time horizon with a non-zero supply value, the colors are indeed calculated per product instead of every bar having its own:
This is the coloring I would expect (and in the first image I would expect all of the 5 bars to be of the same color).
Is there something I am missing in my own logic or is this a bug in the coloring within AIMMS?
Attached the small demo project that shows the behavior. Running this with AIMMS 4.96.9.3 at the moment