Heatmap
A heatmap (or heat map) is a graphical representation of data where the individual values contained in a matrix are represented as color [Wikipedia].
Last updated
A heatmap (or heat map) is a graphical representation of data where the individual values contained in a matrix are represented as color [Wikipedia].
Last updated
The heat map pipes query should output events with a “point” property should be a seq with 3 values, corresponding to the x, y and value of each cell, correspondingly.
For example, the following Pipes query (with span ts 1 to ts 10) will generate a hea tmap similar to Figure 1, outputting events similar to Figure 2:
With the default cell settings (Figure 3), as long as there is a point for every one x and y values, the heat map will render with no spacing between the cells (see Figure 1). You can change this setting to make cells span over some range. Otherwise, there will be gaps between the cells.
Should we edit the previous query and multiply every y value for 2 we would have a space between every cell in the y axis, such as in Figure 4
Similarly, should we also multiply every x value for 3 we would have a space the size of two cells between every cell in the x axis, such as in Figure 5
If the spacing between cells is not desired, one can simply set column width to 3 and the row height to 2, setting depicted in Figure 6. In this case, the chart has one point every 3 X axis values so the column width is set to 3. It has one point every 2 y values so the row height is set to 2. With this setting, there will be no spaces between cells.
Should new values arrive for an existing cell, that cell will show its most recent value
The following query will output a chart similar to the one in Figure 7:
Q: Chart shows no axis and no data
A: Data is not in the right format. Each event should have a “point” property with a seq containing the x,y and value for each cell. Check the Pipes Query section above on how to format the data output for more details.
Q: I have a working query outputting valid points but my chart looks blank
Q: Chart shows axis but no cells
A: There is probably too much space between cells making the cell sizes smaller than a pixel. Increase the cell settings width or height to match the data frequency. Read the cell settings above on how to set up the row height and column width to match the data frequency
Q: There are gaps between the cells
A: The cell width or height is too small. Increase the cell settings values to match the data frequency. Read the cell settings above on how to set up the row height and column width to match the data frequency
Q: Cells have irregular size
Q: Cells show over one another when I hover over them.
A: Cell settings have width or height settings values greater than the frequency of data. Reduce the cell settings width or height to match the data frequency. Read the cell settings above on how to set up the row height and column width to match the data frequency