Skip to content

[Bug] The server side rendering does not work for heatmap 20K data example #17165

@PeterKang2018

Description

@PeterKang2018

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

- OS: Windows 10
- Browser: n/a
- Framework: node

Any additional comments?

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions