@easyv/charts 1.10.20 → 1.10.22

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.
@@ -621,7 +621,7 @@ const reverseGradientStops = (gradient) => {
621
621
  };
622
622
  const getBandBackground = (pattern, fill, y) => {
623
623
  if (!(pattern && pattern.path)) {
624
- return getColor(y < 0 ? reverseGradientStops(fill) : fill); //小于0颜色翻转
624
+ return getColor(y > 0 ? reverseGradientStops(fill) : fill); //小于0颜色翻转
625
625
  }
626
626
  try {
627
627
  const { backgroundSize = "100% 100%", ..._pattern } = pattern;