From 722c372f2de7ccd1ed919fc2771b3aefa110d27d Mon Sep 17 00:00:00 2001 From: mashazyu Date: Thu, 2 May 2019 14:03:30 +0200 Subject: [PATCH] Fix line width in chart --- components/chart/styles.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/chart/styles.js b/components/chart/styles.js index c9b63a8..d2a95d7 100644 --- a/components/chart/styles.js +++ b/components/chart/styles.js @@ -7,7 +7,8 @@ export const dotRadius = 5 const lineWidth = 1.5 const colorLtl = '#feb47b' const gridColor = '#d3d3d3' -const gridLineWidth = 0.5 +const gridLineWidthVertical = 0.6 +const gridLineWidthHorizontal = 0.3 const numberLabelFontSize = 13 const styles = { @@ -44,7 +45,7 @@ const styles = { }, stroke: { color: gridColor, - width: gridLineWidth, + width: gridLineWidthVertical, } }, symptomIcon: { @@ -110,10 +111,10 @@ const styles = { }, horizontalGrid: { position:'absolute', - borderColor: gridColor, - borderWidth: gridLineWidth, - width: '100%', borderStyle: 'solid', + borderBottomColor: gridColor, + borderBottomWidth: gridLineWidthHorizontal, + width: '100%', left: config.columnWidth }, nfpLine: {