Ovilia commented on a change in pull request #9195: axisLine.show option 
implemented for Gauge
URL: https://github.com/apache/incubator-echarts/pull/9195#discussion_r224301211
 
 

 ##########
 File path: src/chart/gauge/GaugeView.js
 ##########
 @@ -85,8 +85,9 @@ var GaugeView = ChartView.extend({
 
         var prevEndAngle = startAngle;
         var axisLineWidth = lineStyleModel.get('width');
-
-        for (var i = 0; i < colorList.length; i++) {
+        var showAxis = axisLineModel.get("show");
+        
+        for (var i = 0;showAxis && i < colorList.length; i++) {
 
 Review comment:
   There should be a space before `showAxis`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to