Produce yAxis only once, return y axis tick positions

This commit is contained in:
Julia Friesel
2018-06-26 21:06:43 +02:00
parent d1759b0cff
commit 23bcc71943
2 changed files with 37 additions and 28 deletions
+7 -1
View File
@@ -50,7 +50,13 @@ const styles = {
yAxis: {
height: config.chartHeight,
width: config.columnWidth,
stroke: 'grey'
},
yAxisLabel: {
position: 'absolute',
right: 3,
color: 'grey',
fontSize: 12,
fontWeight: 'bold'
}
}