From 4109bc32c20753958d782c744cb84613516fc29b Mon Sep 17 00:00:00 2001 From: Quinn Date: Tue, 21 May 2019 16:42:56 -0400 Subject: [PATCH] updated y domain to end at 3.25 and keep y ticks ending at 3. thanks Dan and Julia! --- src/summary/ProgressionLineChartVisualizer.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/summary/ProgressionLineChartVisualizer.jsx b/src/summary/ProgressionLineChartVisualizer.jsx index f0dcec4026..3d22fb6872 100644 --- a/src/summary/ProgressionLineChartVisualizer.jsx +++ b/src/summary/ProgressionLineChartVisualizer.jsx @@ -207,8 +207,8 @@ class ProgressionLineChartVisualizer extends Visualizer { }); }); // Get yAxisInfo - const yAxisDomain = [ -1.25, 3 ]; - const yTicks = [ -1, 0, 1, 2, 3.25 ]; + const yAxisDomain = [ -1.25, 3.25 ]; + const yTicks = [ -1, 0, 1, 2, 3 ]; // Get xAxisInfo const xAxisDomain = this.getXAxisDomain(processedData, processedPotentialDiagnosisDates); const xTicks = this.getXAxisTicks(xAxisDomain, processedPotentialDiagnosisDates, this.props.isWide);