We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8e93c commit dc85cf6Copy full SHA for dc85cf6
1 file changed
src/plugins/plot/configuration/PlotSeries.js
@@ -447,7 +447,7 @@ export default class PlotSeries extends Model {
447
}
448
449
// if the first new data point has an X value > the last data point we already have, stick it at the end.
450
- const isDataInThePast = currentXVal <= this.getXVal(data[insertIndex-1]);
+ const isDataInThePast = currentXVal <= this.getXVal(data[insertIndex - 1]);
451
if (!sorted && isDataInThePast) {
452
insertIndex = this.sortedIndex(newData);
453
if (this.getXVal(data[insertIndex]) === currentXVal) {
0 commit comments