Contrariwise Chart's X axis

Hi All,

Is there a way to have a contrariwise Chart’s X axis?
I have two charts. One is displaying the rise of a variable ( from 0 to 50 degrees ) and the other chart should display the fall of the same variable ( from 50 to 0 degrees ) but I can’t find a clean way to reverse the X axis in order to have it from 50 to 0.

You can do this with a category chart. The labels are then in order they appear in the dataset.

In the configureChart do the following:

plot =chart.getPlot()

domainAxis = plot.getDomainAxis()
domainAxis.setInverted(True)
4 Likes

Thaaaankksssss!!!
It worked like a charm! :heart_eyes: