Databazel
Databazel copied to clipboard
We need some way to change dimensions while building "Stacked bar" chart

When I build stacked bar chart the dimensions was changed.

I need to use the same dimension for stacked bar chart as for bar chart.

@oleg-rdk Probably for start we need just to know the logic why it happens? How it decides what will be the main dimension?
@striletskyy it seems it depends on a sequence of adding fields to the constructor.
we can see it here - we define dimension basing on fields from queryObject, which has nothing to "view layer". So I assume solution might be the usage of viewObject to define desired sequence.