I have a few metrics that are increasing in increments that are a very small proportion of the metric, ex: [3.0, 3.0001, 3.0002, 3.0003...]. Since the default minimum of Rickshaw is 0, the graph for this kind of data looks like:
This PR adds a change where the minimum value on the graph will be the minimum value in the metric y values, if the optional metric arg scale = true is set in the dashboard. The same graph will then look like:
which is more informative.
Since this is a display issue, I chose to change the min value on the graph rather than manipulate the actual datum with some sort of function like transform.
I have a few metrics that are increasing in increments that are a very small proportion of the metric, ex:
[3.0, 3.0001, 3.0002, 3.0003...]
. Since the default minimum of Rickshaw is 0, the graph for this kind of data looks like:This PR adds a change where the minimum value on the graph will be the minimum value in the metric y values, if the optional metric arg
scale = true
is set in the dashboard. The same graph will then look like:which is more informative.
Since this is a display issue, I chose to change the min value on the graph rather than manipulate the actual datum with some sort of function like
transform
.