Skip to content

Commit

Permalink
fix: fixed setSeries for dots (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
zefirka authored Jul 12, 2023
1 parent 0bd51fa commit 5fedb3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/YagrCore/mixins/dynamic-updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ function setSeriesImpl(
series.some(({id, type}) => {
/** @TODO fixme (see Annotations.1) */
return type === 'dots' || this.config.series.find((s) => s.id !== id);
})
}) ||
this.config.chart.series?.type === 'dots'
) {
batch.reinit = true;
}
Expand Down

0 comments on commit 5fedb3d

Please sign in to comment.