# reverse X-axis in vtk charts

**URL:** https://discourse.vtk.org/t/reverse-x-axis-in-vtk-charts/2029
**Category:** Support
**Created:** [November 3, 2019, 8:49am UTC](https://discourse.vtk.org/t/reverse-x-axis-in-vtk-charts/2029 "2019-11-03T08:49:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zolo](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@Zolo](https://discourse.vtk.org/u/Zolo)
#### Post date: [November 3, 2019, 8:49am UTC](https://discourse.vtk.org/t/reverse-x-axis-in-vtk-charts/2029/1 "2019-11-03T08:49:52Z")

</div>

Hi,

I am trying to change the sense of the X axis in a vtk chart. I would like that the axis decreases from left to right. Is this possible? I already tried this:  
bottom-\>SetRange(Xaxis.back(),Xaxis.front());  
but no success.

Thanks,  
Z
