Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

R Plotly: Reverse a bar trace in a chart

$
0
0

I have a plotly chart, which includes two bar charts (trace with type "bar"). I would like to flip one of them upside- down.

I've tried to use the autorange = 'reversed' in layout, but it flips both charts.

I expect the trace 1 to be flipped upside down, but the second one to remain as it is.


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>