Skip to content
Snippets Groups Projects
Commit cac2e4b6 authored by Julia Friesel's avatar Julia Friesel
Browse files

Merge branch '90-show-mucus-on-chart' into 'master'

Resolve "show mucus on chart"

Closes #90

See merge request bloodyhealth/drip!30
parents fb56fe4c c184485c
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,12 @@ export default class CycleChart extends Component {
Q13.5 6.8 15 3z" />
: null}
{cycleDay && cycleDay.mucus ?
<Circle
{...styles.mucusIcon}
fill={styles.mucusIconShades[cycleDay.mucus.computedNfp]}
/> : null}
{y ? this.drawDotAndLines(y, cycleDay.temperature.exclude, index) : null}
</G>
)
......
......@@ -45,9 +45,21 @@ const styles = {
bleedingIcon: {
fill: '#fb2e01',
scale: 0.6,
x: 7,
x: 6,
y: 3
},
mucusIcon: {
cx: config.columnWidth / 2,
cy: 50,
r: 10
},
mucusIconShades: [
'#cc99cc',
'#bf7fbf',
'#b266b2',
'#a64ca6',
'#993299'
],
yAxis: {
height: config.chartHeight,
width: config.columnWidth,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment