|
|
|
@ -17,7 +17,9 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
|
|
|
|
|
|
|
|
|
|
constructor(_el: HTMLElement, _series: LineTimeSerie[] = [], _options: LineOptions = {}) { |
|
|
|
|
super(_el, _series, _options); |
|
|
|
|
console.log('coreSeries', this.coreSeries); |
|
|
|
|
this.coreSeries = new LineSeries(_series); |
|
|
|
|
console.log('lineseries', this.coreSeries); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
renderMetrics(): void { |
|
|
|
@ -32,6 +34,7 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
console.log('series', this.coreSeries.visibleSeries) |
|
|
|
|
for(const serie of this.coreSeries.visibleSeries) { |
|
|
|
|
this._renderMetric(serie); |
|
|
|
|
} |
|
|
|
|