@axdspub/axiom-charts 0.0.42 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1737,10 +1737,9 @@ class AxiomRadialRose extends AxiomPlotRoot {
1737
1737
  parsedData.forEach(row => {
1738
1738
  const directionBinIndex = Math.floor(row.direction / degreesPerBin);
1739
1739
  const stack = stacks[directionBinIndex];
1740
- if (Number(yAccessor(row)) < this.speedBins[this.speedBins.length - 1]) {
1741
- const speedBin = Math.floor(Number(yAccessor(row)));
1742
- stack[speedBin] += 1;
1743
- }
1740
+ const yValue = Number(yAccessor(row));
1741
+ const speedBin = Math.ceil(yValue);
1742
+ stack[speedBin] += 1;
1744
1743
  });
1745
1744
  return stacks;
1746
1745
  }