15776869115 commented on issue #18109:
URL: https://github.com/apache/echarts/issues/18109#issuecomment-1365864586

   ``> @15776869115 Please provide a demo for the issue either with [Official 
Editor](https://echarts.apache.org/examples/editor.html), 
[CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), 
[CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) 
or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).
   
   ====================================
   render() {
   
       const config = {
         data:this.state.data,
         xField: 'date',
         yField: 'value',
         seriesField: 'category',
         yAxis: {
           label: {
             // 数值格式化为千分位
             formatter: (v) => `${v}`.replace(/\d{1,3}(?=(\d{3})+$)/g, (s) => 
`${s},`),
           },
         },
         color: ['#1979C9', '#D62A0D', '#FAA219'],
       };
   
       return <Line {...config} />;
     }
   ======================================


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