You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/10/20 02:54:12 UTC

[GitHub] [echarts] plainheart commented on a change in pull request #15878: fix(axis): fix charts render abnormally when `yAxis.max` is set to be a value less than the min value of the series data.

plainheart commented on a change in pull request #15878:
URL: https://github.com/apache/echarts/pull/15878#discussion_r732378220



##########
File path: src/coord/scaleRawExtentInfo.ts
##########
@@ -201,11 +201,6 @@ export class ScaleRawExtentInfo {
         (min == null || !isFinite(min)) && (min = NaN);
         (max == null || !isFinite(max)) && (max = NaN);
 
-        if (min > max) {
-            min = NaN;
-            max = NaN;

Review comment:
       #15910 seems to state another potential enhancement where `min` is identical to `max`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org