Tooltip: Improved Heatmap tooltip (#75712)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
This commit is contained in:
Adela Almasan
2023-11-30 11:04:56 -06:00
committed by GitHub
co-authored by Leon Sorokin nmarrs
parent 5a80962de9
commit e361839261
14 changed files with 682 additions and 175 deletions
@@ -133,6 +133,10 @@ export interface HeatmapTooltip {
* Controls if the tooltip is shown
*/
show: boolean;
/**
* Controls if the tooltip shows a color scale in header
*/
showColorScale?: boolean;
/**
* Controls if the tooltip shows a histogram of the y-axis values
*/
@@ -264,6 +268,7 @@ export const defaultOptions: Partial<Options> = {
tooltip: {
show: true,
yHistogram: false,
showColorScale: false,
},
};