Browse Source

fix points not rendering

merge-requests/5/head
rozetko 3 years ago
parent
commit
09f08acb5e
  1. 2
      src/index.ts

2
src/index.ts

@ -144,7 +144,7 @@ export class ChartwerkScatterPod extends ChartwerkPod<ScatterData, ScatterOption
} }
getSerieByIdx(idx: number): ScatterData | undefined { getSerieByIdx(idx: number): ScatterData | undefined {
return _.find(this.series.visibleSeries, serie => serie.idx = idx); return _.find(this.series.visibleSeries, serie => serie.idx === idx);
} }
getSeriesColorFromDataRow(values: number[], rowIdx: number): string { getSeriesColorFromDataRow(values: number[], rowIdx: number): string {

Loading…
Cancel
Save