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 2022/06/06 19:48:17 UTC

[GitHub] [echarts] PeterKang2018 opened a new issue, #17165: [Bug] The server side rendering does not work for heatmap 20K data example

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

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=heatmap-large
   
   ### Steps to Reproduce
   
   1. Create a node js console project from Visual Studio 2022. 
   2. Copy code from https://apache.github.io/echarts-handbook/en/how-to/cross-platform/server/, choose either svg or canvas rendering. Save the generated chart to a .png file.
   3. Copy the data form https://echarts.apache.org/examples/en/editor.html?c=heatmap-large.
   4. Run the application from Visual Studio.
   
   ### Current Behavior
   
   When user server side rendering for https://echarts.apache.org/examples/en/editor.html?c=heatmap-large, the svg and canvas rendering can only generate partial chart. If the data is reduced, for example 50 by 50, then it works.
   
   Looks like server side rendering had problem with large data set.
   
   Also, the canvas rendering will have exception if the following code is not included:
   
   echarts.setCanvasCreator(() => {
     return createCanvas();
   }); 
   
   
   
   ### Expected Behavior
   
   Expect to see the full heatmap.
   
   ### Environment
   
   ```markdown
   - OS: Windows 10
   - Browser: n/a
   - Framework: node
   ```
   
   
   ### Any additional comments?
   
   ![image](https://user-images.githubusercontent.com/38470604/172235260-6e243f1c-cb1f-47a9-8239-0281af563a04.png)
   


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

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


[GitHub] [echarts] PeterKang2018 commented on issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example

Posted by GitBox <gi...@apache.org>.
PeterKang2018 commented on issue #17165:
URL: https://github.com/apache/echarts/issues/17165#issuecomment-1148158898

   Set progressive to 0 make it work. Thanks!


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

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


[GitHub] [echarts] PeterKang2018 closed issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example

Posted by GitBox <gi...@apache.org>.
PeterKang2018 closed issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example
URL: https://github.com/apache/echarts/issues/17165


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

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


[GitHub] [echarts] PeterKang2018 commented on issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example

Posted by GitBox <gi...@apache.org>.
PeterKang2018 commented on issue #17165:
URL: https://github.com/apache/echarts/issues/17165#issuecomment-1148072046

   Yes. I used the "heatmap 20k data" example code. https://echarts.apache.org/examples/en/editor.html?c=heatmap-large
   series: [
       {
         name: 'Gaussian',
         type: 'heatmap',
         data: data,
         emphasis: {
           itemStyle: {
             borderColor: '#333',
             borderWidth: 1
           }
         },
         progressive: 1000,
         animation: false
       }
     ]
   
   I also tried to move "animation: false" out of series block, it did not work either.


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

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


[GitHub] [echarts] Ovilia commented on issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17165:
URL: https://github.com/apache/echarts/issues/17165#issuecomment-1148132353

   `progressive` should be set to 0 to disable progressive rendering. If that does't work, set it to something larger than your data number.


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

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


[GitHub] [echarts] plainheart commented on issue #17165: [Bug] The server side rendering does not work for heatmap 20K data example

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17165:
URL: https://github.com/apache/echarts/issues/17165#issuecomment-1148053922

   Did you try to disable animation via `animation: false`?


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

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