cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Paste the following code into the widget script to reverse the Y-Axis.
Instead of the lower number at the bottom of the chart, it will be at the top.
widget.on('processresult', function(se,ev){
   ev.result.yAxis[0].reversed = true;
})
If you have a secondary Y-Axis you can leave it as is or inverse it as well by adding the following line after line 2 of the code above. 
ev.result.yAxis[1].reversed = true;
Version history
Last update:
‎03-02-2023 09:14 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: