Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Can not set bar chart to Horizontal

Hi,

If I select ‘Horizontal’ in Styles -> Traces -> Bars nothing happens. How can i make a horizontal bar chart?

Thanks!
jan

Hey @jan,

Thanks for reporting. Unfortunately, this is a known bug. We’ve opened an issue and will post here again once it is resolved.

In the meantime, there is a bit of a workaround and thus it’s still possible to make horizontal bar chart; although, it is a more manual process.

If you have already made a vertical bar chart, select the ‘JSON’ tab and then click ‘data’. Here, you can edit the orientation to be horizontal by entering ‘h’.

Because it won’t automatically update, you’ll need click ‘Create’ and change the ‘X’ and ‘Y’ values (also note that axis title won’t automatically change)

1 Like

Thanks for the workaround, worked for me.