[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