2
$\begingroup$

I just experienced the following different behavior in Mathematica and same in the Cloud regarding BarChart. I want to visualize two lists of data, one with origin right, one with origin left:

data1 = {1, 5, 3, 6, 7}; data2 = {5, 4, 2, 6, 1};

In Mathematica

b1 = BarChart[data1, BarOrigin -> Right]

and

b2 = BarChart[data2, BarOrigin -> Right]

produces:

enter image description here

Doing the same in Wolfram Cloud the chart with origin right misses the Axeslabel on the x-Axis.

enter image description here

Any ideas why or (better) a workaround for the cloud?

$\endgroup$
  • $\begingroup$ I can't reproduce it, but I suspect Rasterize[BarChart[...]] may look correct. $\endgroup$ – Brett Champion May 27 '18 at 18:26

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.