[giraffe][rickshaw] How to dynamically scaly Y axis on positive and negative sides

StackOverflow https://stackoverflow.com/questions/20248652

  •  05-08-2022
  •  | 
  •  

I am using Giraffe (https://github.com/kenhub/giraffe) to draw some graphs based on some graphite metrics.

The values for one of the graphs can go positive as well as negative. I do not want to set explicit scale for the graph using "min" and "max". Is there a way that the graph can dynamically scale and display the negative values as well?

Currently, the graph scales dynamically on the positive y axis but the values on negative y axis are not displayed.

Thanks!

有帮助吗?

解决方案

I'm the creator of Giraffe.

The issue was resolved in the latest version. Thanks for reporting it.

Older versions can set min: 'auto' in the dashboards.js file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top