From 61a643548ab959d62697c81d973cedc1bf853cec Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Wed, 27 Oct 2021 00:21:48 +0300 Subject: [PATCH] LinePod classname --- package.json | 2 +- src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3d8fe9b..ac137e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chartwerk/line-pod", - "version": "0.2.4", + "version": "0.3.0", "description": "Chartwerk line chart", "main": "dist/index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index 51e1400..307d22f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ const CROSSHAIR_CIRCLE_RADIUS = 3; const CROSSHAIR_BACKGROUND_RAIDUS = 9; const CROSSHAIR_BACKGROUND_OPACITY = 0.3; -export class ChartwerkLineChart extends ChartwerkPod { +export class LinePod extends ChartwerkPod { lineGenerator = null; metricContainer = null; @@ -504,7 +504,7 @@ export const VueChartwerkLineChartObject = { methods: { render() { if(this.pod === undefined) { - this.pod = new ChartwerkLineChart(document.getElementById(this.id), this.series, this.options); + this.pod = new LinePod(document.getElementById(this.id), this.series, this.options); this.pod.render(); } else { this.pod.updateData(this.series, this.options);