We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 165d8a8 commit 45c31e9Copy full SHA for 45c31e9
packages/line/src/Points.js
@@ -18,7 +18,7 @@ const Points = ({ points, symbol, size, borderWidth, enableLabel, label, labelYO
18
* We reverse the `points` array so that points from the lower lines in stacked lines
19
* graph are drawn on top. See https://github.com/plouc/nivo/issues/1051.
20
*/
21
- const mappedPoints = points.reverse().map(point => {
+ const mappedPoints = points.slice(0).reverse().map(point => {
22
const mappedPoint = {
23
id: point.id,
24
x: point.x,
0 commit comments