graph.ts
19.2 KB
-
graph: Handle data with zeroes for log scale · d318c909
fixes #8446. Data with all values equal to zero, creates a max with the value of Infinite. The for loop for creating ticks then gets stuck in an infinite loop. This fix resets min and max and creates some fake ticks for the y-axis if the min and max are not finite numbers.
Daniel Lee committed