zifix commented on a change in pull request #11324: Add log axis for radar 
charts
URL: 
https://github.com/apache/incubator-echarts/pull/11324#discussion_r328795630
 
 

 ##########
 File path: src/coord/radar/Radar.js
 ##########
 @@ -40,7 +41,8 @@ function Radar(radarModel, ecModel, api) {
 
     this._indicatorAxes = zrUtil.map(radarModel.getIndicatorModels(), function 
(indicatorModel, idx) {
         var dim = 'indicator_' + idx;
-        var indicatorAxis = new IndicatorAxis(dim, new IntervalScale());
+        var indicatorAxis = new IndicatorAxis(dim,
+            (indicatorModel.axisType === 'log') ? new LogScale() : new 
IntervalScale());
 
 Review comment:
   I switched to get as requested.

----------------------------------------------------------------
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.
 
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