Closed czelsa closed 2 years ago
when I move data label from data()
data() { return { ... labels: { xLabels: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], yLabels: 5, yLabelsTextFormatter: val => Math.round(val * 100) / 100 },
to mounted() like:
mounted() { ... this.labels = { xLabels: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], yLabels: 5, yLabelsTextFormatter: val => Math.round(val * 100) / 100} }
then the bottom label (xLabels) overlaps the chart (changes position/moves up)
https://codepen.io/czelsa/pen/gOaQzbP
when I move data label from data()
to mounted() like:
then the bottom label (xLabels) overlaps the chart (changes position/moves up)
https://codepen.io/czelsa/pen/gOaQzbP