|
|
|
@ -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<LineTimeSerie, LineOptions> { |
|
|
|
|
export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> { |
|
|
|
|
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); |
|
|
|
|