antvis/G2
The issue has been closed
数据量5w的热力图,直接渲染不出来,移除图例也渲染不出来 #5050
nikas1991 posted onGitHub
官方demo可以跑,实际业务中的数据量达到5w的热力图就渲染不上,已经去除图例
chart.options({
type: "view",
theme: "classic",
width: 1152,
height: 780,
paddingLeft: 60,
data: vData,
sort: false,
legend: false, // 关闭图例
forceSquare: true,
scale: {
color: {
palette: "turbo",
},
},
axis: {
y: { labelAutoHide: true, labelAutoRotate: false },
x: { labelAutoHide: true, labelAutoRotate: false },
},
children: [
{
type: "cell",
encode: { x: 'x', y: 'y', color: "z" },
},
],
});