[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