Skip to content

Commit

Permalink
fix(line): reverted unexpected change
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Oct 25, 2021
1 parent 2b63cd7 commit e643819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/line/LineView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function getVisualGradient(
: (outerColors[0] ? outerColors[0] : colorStops[0].color);
}

const tinyExtent = 0; // Arbitrary value: 10px
const tinyExtent = 10; // Arbitrary value: 10px
const minCoord = colorStopsInRange[0].coord - tinyExtent;
const maxCoord = colorStopsInRange[inRangeStopLen - 1].coord + tinyExtent;
const coordSpan = maxCoord - minCoord;
Expand Down

0 comments on commit e643819

Please sign in to comment.