wencan opened a new issue, #20243:
URL: https://github.com/apache/echarts/issues/20243

   ### What problem does this feature solve?
   
   I'm considering having the backend generate the option configuration and 
letting the frontend render the chart. The advantage of this approach is that 
the chart configuration is fully encapsulated in the backend. I want to use a 
gauge chart and the frontend is WeChat.
   However, I'm facing a challenge. I want to customize the axisLabel text, but 
it seems that the only way to do this is through the formatter function. WeChat 
doesn't support eval or New Function, which means the backend can't pass a 
formatter function to the frontend.
   
   The final effect is similar to this: 
https://echarts.apache.org/examples/zh/editor.html?c=gauge-grade
   but without using the formatter function.
   
   Are there any feasible solutions?
   
   ### What does the proposed API look like?
   
         axisLabel: {
            customLabels: ['Grade A', 'Grade B', ...]
         },


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to