Heatmap: consolidate naming conventions (#50272)

This commit is contained in:
Ryan McKinley
2022-06-13 08:08:33 -07:00
committed by GitHub
parent d8d3a9c561
commit 1902357693
13 changed files with 78 additions and 84 deletions

View File

@@ -13,17 +13,19 @@ export enum DataFrameType {
DirectoryListing = 'directory-listing',
/**
* First field is X, the rest are bucket values
* First field is X, the rest are ordinal values used as rows in the heatmap
*/
HeatmapBuckets = 'heatmap-buckets',
HeatmapRows = 'heatmap-rows',
/**
* Explicit fields for:
* xMin, yMin, count, ...
*
* All values in the grid exist and have regular spacing
*
* If the y value is actually ordinal, use `meta.custom` to specify the bucket lookup values
*/
HeatmapScanlines = 'heatmap-scanlines',
HeatmapCells = 'heatmap-cells',
/**
* WIP sparse heatmap support