Skip to content

Commit b297af0

Browse files
Merge pull request #199 from kennytm/rescale-axes
Allow rescaling the y-axis when hiding a series.
2 parents 07afa2f + 31fb076 commit b297af0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

site/static/index.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,10 @@
148148
type: "datetime",
149149
},
150150
yAxis: absolute ? {
151-
title: crate_name.includes("-opt") ? { text: "" } : {
151+
title: (crate_name.includes("-opt") || crate_name.includes("-check")) ? { text: "" } : {
152152
text: crate_name.startsWith("Summary") ? summaryYAxis : yAxis,
153153
},
154-
labels: crate_name.includes("-opt") ? {
155-
enabled: false,
156-
} : {},
157154
min: 0,
158-
max: max * 1.05,
159-
softMax: max * 1.05,
160155
ceiling: max * 1.05,
161156
floor: 0,
162157
} : {

0 commit comments

Comments
 (0)