Currently one of the things that the .color method doesn't support for bar-chart-series and multi-bar-chart-series is it doesn't let you color bars or group/stack items in the middle of the stack.
The way it currently works is it takes a list of colors and
1) Colors the bars of a bar-chart-series from left to right with that list of colors
2) Colors the bars of a multi-bar-chart-series from bottom to top [stacked bar chart] or left to right [grouped bar chart]
The best way I can think of to support coloring a bar or group/stack item in the middle without changing others is to take in a list of options of colors instead of a list of colors.
The problem with this is that this case doesn't seem like a really common use case and considering that many of the users of the chart library are likely high-schoolers, I'm not sure if the extra complexity of a list of options is worth it.
Currently one of the things that the .color method doesn't support for bar-chart-series and multi-bar-chart-series is it doesn't let you color bars or group/stack items in the middle of the stack.
The way it currently works is it takes a list of colors and 1) Colors the bars of a bar-chart-series from left to right with that list of colors 2) Colors the bars of a multi-bar-chart-series from bottom to top [stacked bar chart] or left to right [grouped bar chart]
The best way I can think of to support coloring a bar or group/stack item in the middle without changing others is to take in a list of options of colors instead of a list of colors.
The problem with this is that this case doesn't seem like a really common use case and considering that many of the users of the chart library are likely high-schoolers, I'm not sure if the extra complexity of a list of options is worth it.