# Core Plot bar graph display horizontally

**URL:** <https://forums.kodeco.com/t/core-plot-bar-graph-display-horizontally/30297>\
**Category:** Swift\
**Created:** [May 30, 2017, 6:21pm UTC](https://forums.kodeco.com/t/core-plot-bar-graph-display-horizontally/30297 "2017-05-30T18:21:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamescal](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamescal/32/68672_2.png) [@jamescal](https://forums.kodeco.com/u/jamescal)\
**Post date:** [May 30, 2017, 6:21pm UTC](https://forums.kodeco.com/t/core-plot-bar-graph-display-horizontally/30297/1 "2017-05-30T18:21:48Z")

</div>

Using swift and core plot, does anyone know how I can draw bar charts that display the y-axis data horizontally rather than vertically?

Thanks

---

<div class="post-metadata">

**Author:** ![jayantvarma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jayantvarma/32/111768_2.png) [@jayantvarma](https://forums.kodeco.com/u/jayantvarma)\
**Post date:** [March 16, 2019, 11:08pm UTC](https://forums.kodeco.com/t/core-plot-bar-graph-display-horizontally/30297/2 "2019-03-16T23:08:28Z")

</div>

Hi @jamescal,  
have you tried to think of your axises as transposed? that is swap the x with the y, so your chart will now look horizontal than vertical.

cheers,
