Replace svg with ART in chart

This commit is contained in:
Julia Friesel
2018-11-21 13:44:29 +01:00
parent 6e3cbc8e39
commit c0be1b7848
4 changed files with 50 additions and 43 deletions
+5 -9
View File
@@ -3,10 +3,10 @@ import { shadesOfRed, cycleDayColor } from '../../styles/index'
const colorTemperature = '#765285'
const colorTemperatureLight = '#a67fb5'
const dotRadius = 5
export const dotRadius = 5
const lineWidth = 1.5
const colorLtl = '#feb47b'
const gridColor = 'lightgrey'
const gridColor = '#d3d3d3'
const gridLineWidth = 0.5
const numberLabelFontSize = 13
@@ -41,13 +41,9 @@ const styles = {
textAlign: 'center',
}
},
rect: {
x:'0',
y:'0',
width: config.columnWidth,
stroke: gridColor,
strokeWidth: gridLineWidth,
fill: 'transparent'
stroke: {
color: gridColor,
width: gridLineWidth,
}
},
symptomIcon: {