We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c3661 commit a19d008Copy full SHA for a19d008
src/index.ts
@@ -51,7 +51,7 @@ export default {
51
const width = chart.chartArea.width/chart.scales.x.max
52
const point = (x: number, y: number) => [
53
x * width + chart.chartArea.left,
54
- chart.scales.y.max, (chart.scales.y.max-y) * height + chart.chartArea.top,
+ (chart.scales.y.max - y) * height + chart.chartArea.top,
55
];
56
57
// @ts-ignore
0 commit comments