vizzu-lib icon indicating copy to clipboard operation
vizzu-lib copied to clipboard

Wrong auto orientation on multi-bar -> one column transition

Open simzer opened this issue 3 years ago • 0 comments

https://jsfiddle.net/VizzuHQ/oqra16dg/1/

et data = {
  series: [
    { name: 'Foo', values: ['Alice', 'Bob', 'Ted'] },
    { name: 'Bar', values: [15, 32, 12] }
  ]
};

let chart = new Vizzu("myVizzu", { data });

chart.animate({
  y: 'Foo',
  x: 'Bar'
});

chart.animate({
  color: 'Foo', 
  y: ['Bar','Foo'],
  x: null
});

Orientation should change to horizontal in this step.

simzer avatar Apr 06 '22 10:04 simzer