Databazel icon indicating copy to clipboard operation
Databazel copied to clipboard

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

Open striletskyy opened this issue 8 years ago • 2 comments

screen shot 2017-04-06 at 4 52 40 pm

When I build stacked bar chart the dimensions was changed.

screen shot 2017-04-06 at 4 53 22 pm

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

screen shot 2017-04-06 at 4 53 30 pm

striletskyy avatar Apr 06 '17 13:04 striletskyy

@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 avatar Apr 06 '17 14:04 striletskyy

@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.

oleg-rdk avatar Apr 07 '17 06:04 oleg-rdk