How to show reverse y axis of Zingchart in python?

69 Views Asked by At

I am trying to implement Zingchart in Python and I want to show y axis in reverse order from top to bottom like -10, 0, 10,20.....120, and also trying to hide alternative line on x axis and show fixed labels on x axis. Does anyone know how to show y axis in reverse order and hide lines on x axis.

1

There are 1 best solutions below

1
Kamal Saini On BEST ANSWER

Solved by setting mirrored:true in y axis like:

scale-y:
{
  label:{
  text:'Hearing Level',
},
  mirrored:true,
  minorTicks:1,
  values:'10:120:10',
  step:5
}