You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Ovilia (via GitHub)" <gi...@apache.org> on 2023/04/03 09:18:24 UTC

[GitHub] [echarts] Ovilia commented on issue #18461: [Bug] 修改xAxis或yAxis中的 axisLabel下的formatter属性时无法通过TypeScript类型检测

Ovilia commented on issue #18461:
URL: https://github.com/apache/echarts/issues/18461#issuecomment-1493971598

   This may probably not a typing problem. It works with the following case well.
   
   ```ts
   const yAxis: YAXisComponentOption = {
     axisLabel: {
       formatter: "{value}%"
     }
   };
   
   yAxis.axisLabel.formatter = "{value}%";
   ```
   
   I think this is because `yAxis.axisLabel` is a generic type.


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