HI,
I am having a XY Chart With two series configured, Series-1 Render Set to Column and Series -2 Render Set to Line. By default it was plotted vertically. But I want that to be plotted horizontally. Is an option to switch between vertical to horizonal as in Vision xy chart component property in perspective?
Hi there, you should be able to do this by manually swapping the x-axis and y-axis properties.
I was able to do this by swapping the xAxes
and yAxes
props of a the xy chart in bar mode, and then within each series of the series
prop swap the xAxis
and yAxis
props and then the data.x
and data.y
props and this should give you your chart rendered horizontally.
This is what my props look like after doing this to the default xy chart component as it is when you first drag it onto a View and changed each series to render as a column.