From 91622930711ef95cd1f14d9b7cc5944be94370a1 Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Wed, 2 Aug 2017 14:16:14 -0700 Subject: [PATCH] Update style logic to use axes labels --- ui/src/shared/components/LineGraph.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/shared/components/LineGraph.js b/ui/src/shared/components/LineGraph.js index dcf93fab15..cbeeac5111 100644 --- a/ui/src/shared/components/LineGraph.js +++ b/ui/src/shared/components/LineGraph.js @@ -153,10 +153,12 @@ export default React.createClass({ roundedValue = Math.round(+lastValue * precision) / precision } + const isLabelSet = !!axes.y.label || !!axes.y2.label + return (