Produce horizontal grid once, not for every column

This commit is contained in:
Julia Friesel
2018-08-13 15:20:42 +02:00
parent cd1e689aae
commit 2d221c4060
4 changed files with 14 additions and 12 deletions
+9 -5
View File
@@ -42,8 +42,7 @@ const styles = {
height: config.chartHeight,
borderStyle: 'solid',
borderColor: 'grey',
borderWidth: 1,
backgroundColor: 'transparent'
borderWidth: 0.5
}
},
bleedingIcon: {
@@ -67,6 +66,9 @@ const styles = {
yAxis: {
height: config.chartHeight,
width: config.columnWidth,
borderRightWidth: 0.5,
borderColor: 'lightgrey',
borderStyle: 'solid'
},
yAxisLabel: {
position: 'absolute',
@@ -76,10 +78,12 @@ const styles = {
fontWeight: 'bold'
},
horizontalGrid: {
position:'absolute',
borderColor: 'lightgrey',
borderWidth: 1,
width: config.columnWidth,
borderStyle: 'solid'
borderWidth: 0.5,
width: '100%',
borderStyle: 'solid',
left: config.columnWidth
},
nfpLine: {
borderColor: '#00b159',