machbase-neoTQLCHART()HeatmapCalendar HeatmapCalendar Heatmap 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 FAKE(linspace(1, 365, 365)) MAPVALUE(1, simplex(10, value(0))+0.9) MAPVALUE(0, 1672444800+(value(0)*3600*24)) // 2023/01/01 00:00:00 MAPVALUE(0, time(value(0)*1000000000)) MAPVALUE(0, list(value(0), value(1))) CHART( chartOption({ title: { top: 30, left: "center", text: "Daily Measurements" }, tooltip: {}, visualMap: { min: 0, max: 2.0, type: "piecewise", orient: "horizontal", left: "center", top: 65 }, calendar: { top: 120, left: 30, right: 30, cellSize: ["auto", 13], range: "2023", itemStyle: { borderWidth: 0.5 }, yearLabel: {show:true} }, series: { type: "heatmap", coordinateSystem: "calendar", data: column(0) } }) )Last updated on Jun 12, 2025Discrete Mapping of Colors