What problem does this feature solve?
i was polt a heatmap with a 100*100 matric, it will render slow. Sometimes, i need use resize() instance method, and getDataURL() to download, this will get a uncompleted render plot, like this
What does the proposed API look like?
add resize callback method
1条答案
按热度按时间idfiyjo81#
Have the same problems, when I want to render around 20_000 items.
Also when I tried filter chart by visual map, rerender also take so slow.
Simple example for reproduce https://echarts.apache.org/examples/en/editor.html?c=heatmap-large&code=DYUwLgBAdg9glgZxBAvBA5uAcvJAJEYABxACcAKASgG4AoUSADwBEBDMV1CAbQF06GEAJ5sOXPnViIQAOiQgAJuQCy7ABYzSrKApgBbKjVoAzAK5QAxmDgwoGEFDLsQo1uTBrwrADQQ9cKF89VkZKCABvWggIQQV2TjQJKIhjGFIIckE4LgAGaghsgB40ACYANhy8goBqarDI6OjU9MzwCAArXPzO4ogARkru2vrkxogAenGYtsYucmDZgFo_ALCAKgKJiBLKiGqVqDox6MnpyCE5hYhl_yh1jq2BnL2Do-O4jhkiUwQ1cm44L52r4pEgvmRgAESuRslMACw5IFbHZhfY5GQAVl4RmOEymH1YXx-fwBQJBaWCwGYiDA7k8HF8oQgG1gpEp1IQtI8Xl8Qko2Le0QAvqMICx4kTfjCcRARU00hlBJ00FUev1Bh1hhFRSIJd8pe0ZXKIKRwKZSHYCXQRbF4lxMI4tGAXPFyCVfIsMb4MUYYERrLYuA0IGAYDBgNYiAAuCJC7zJRgAQUYiBjweiYCEJBjAHILM50GkhDn42MCTHxRxknHkkJk6ntWNM9mIHmC0WS6Ly8JXNXSxAAG6IUysYCqaONxq3GOI0ULGN9fvRfPACymYCsABGoBjYFIphAS5NIFH1j0IBjxlHSCPAQAStpMGnRcvw2kY9wX40cwBiADMfR_mUACcGKdri0S_nCGIAOwYpucLgRBv4wXCrAKAofRIbiv5bgowEgMB2HHL-IA5MYf7GAAHMRYy_sYDHGJuxi0d-P7GCAZHATkrGQexcQgGUWFHnR7FwmUChwn-vGtj-CgwX-OQlDBMm4RilTlDmX68KKxo1tESCkHAIAIB-orpo0UCsOeuYA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