You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/10/13 06:26:50 UTC

[GitHub] [incubator-echarts] Rwuyao commented on issue #13423: 散点图的自定义图标功能在开启大数据量优化之后报错,无法绘制

Rwuyao commented on issue #13423:
URL: https://github.com/apache/incubator-echarts/issues/13423#issuecomment-707519401


   在官网找到的一个实例,将图标改为自定义,large设置为true,然后绘制失败,抛出的异常与我自己的代码里面一样。
   $.getJSON(ROOT_PATH + '/data/asset/data/house-price-area2.json', function (data) {
   
       var option = {
           title: {
               text: 'Dispersion of house price based on the area',
               left: 'center',
               top: 0
           },
           visualMap: {
               min: 15202,
               max: 159980,
               dimension: 1,
               orient: 'vertical',
               right: 10,
               top: 'center',
               text: ['HIGH', 'LOW'],
               calculable: true,
               inRange: {
                   color: ['#f2c31a', '#24b7f2']
               }
           },
           tooltip: {
               trigger: 'item',
               axisPointer: {
                   type: 'cross'
               }
           },
           xAxis: [{
               type: 'value'
           }],
           yAxis: [{
               type: 'value'
           }],
           series: [{
               name: 'price-area',
               type: 'scatter',
               large:true,
                symbol :'image://data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7',
               symbolSize: 5,
               // itemStyle: {
               //     normal: {
               //         borderWidth: 0.2,
               //         borderColor: '#fff'
               //     }
               // },
               data: data
           }]
       };
   
       myChart.setOption(option);
   });


----------------------------------------------------------------
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:
users@infra.apache.org



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