Resolve "don't show temperature chart part of chart when temp not tracked"

This commit is contained in:
Maria Zadnepryanets
2020-03-28 13:03:51 +00:00
committed by Sofiya Tepikin
parent 620f5e77da
commit ee0b83d1ca
10 changed files with 187 additions and 94 deletions
+13 -1
View File
@@ -1,7 +1,9 @@
const config = {
columnWidth: 25,
xAxisHeightPercentage: 0.08,
xAxisHeightPercentageLarge: 0.12,
symptomHeightPercentage: 0.05,
symptomHeightPercentageLarge: 0.1,
temperatureScale: {
defaultLow: 35,
defaultHigh: 38,
@@ -9,7 +11,17 @@ const config = {
max: 40,
units: 0.1,
verticalPadding: 0.03
}
},
symptoms: [
'bleeding',
'mucus',
'cervix',
'sex',
'desire',
'pain',
'mood',
'note'
],
}
config.columnMiddle = config.columnWidth / 2