Added further optimazation

This commit is contained in:
2020-11-22 09:56:32 +01:00
parent 3cdaa2dc35
commit d75e9d378d
2 changed files with 70 additions and 49 deletions

View File

@ -8,19 +8,34 @@ export class HeatmapChart extends Component {
this.state = {
options: {
dataLabels: {
enabled: false
},
colors: [blueGrey[900]],
title: {
text: props.label,
style: {
fontSize: '22px',
fontWeight: 600,
fontFamily: 'Helvetica, Arial, sans-serif',
chart: {
animations: {
enabled: true,
easing: 'linear',
speed: 250,
animateGradually: {
enabled: false,
speed: 250,
},
dynamicAnimation: {
enabled: true,
speed: 250
}
}
},
dataLabels: {
enabled: false
},
colors: [blueGrey[900]],
title: {
text: props.label,
style: {
fontSize: '22px',
fontWeight: 600,
fontFamily: 'Helvetica, Arial, sans-serif',
},
},
},
}
}