machbase-neoTQLCHART()HeatmapDiscrete Mapping of ColorsDiscrete Mapping of Colors 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 FAKE( meshgrid( linspace(1, 200, 200), linspace(1, 100, 100)) ) MAPVALUE(2, simplex(4, value(0)/40, value(1)/20) + 0.8 ) MAPVALUE(2, list(value(0), value(1), value(2))) CHART( chartOption({ tooltip: {}, grid: { right: "120px", left: "40px"}, xAxis: { type: "category", value: column(0) }, yAxis: { type: "category", value: column(1) }, visualMap: { type: "piecewise", min: 0, max: 1.8, left: "right", top: "center", calculable: true, realtime: false, splitNumber: 8, inRange: { color: [ "#313695", "#4575b4", "#74add1", "#abd9e9", "#e0f3f8", "#ffffbf", "#fee090", "#fdae61", "#f46d43", "#d73027", "#a50026" ] } }, series: [ { name: "SimpleX Noise", type: "heatmap", data: column(2), emphasis: { itemStyle: { borderColor: "#333", borderWidth: 1 } }, progressive: 1000, animation: false } ] }) )Last updated on Jun 12, 2025HeatmapCalendar Heatmap