eapatel commented on issue #16095:
URL: https://github.com/apache/echarts/issues/16095#issuecomment-981184109


   Hi @pissang, I solved above error. As I upgraded from echarts v4.0.2 to 
echarts v5.2.2 I'm getting below error.
   ```
   Type '(params: any, ticket: any, callback: any) => any' is not assignable to 
type 'string | TooltipFormatterCallback<TopLevelFormatterParams>'.
         Type '(params: any, ticket: any, callback: any) => any' is not 
assignable to type 'TooltipFormatterCallback<TopLevelFormatterParams>'.
       
       87         formatter: (params, ticket, callback) => {
    ```   
       ```
   Type '{ formatter: (value: any) => any; }' is not assignable to type 
   'AxisLabelBaseOption'.
         Object literal may only specify known properties, and 'formatter' does 
not exist in type 'AxisLabelBaseOption'.
       
       134           formatter: (value): any => this.formatXAxisLabel(value),   
 
       ```
   Formatter works fine with version 4.0.2. can you please help me how to solve 
this with echarts v5?


-- 
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-unsubscr...@echarts.apache.org

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



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

Reply via email to