You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix setting colors and legend labels. Allow not showing legend.
Changing the default color pattern and labels for a heat map did not
work correctly.
The heat map legend would not allow default color patterns or labels.
The heat map did not allow hiding the legend.
* @param {string=} height height of the chart (no units) - default: "200"
1183
1195
* @param {string=} chartTitle title of the chart
1196
+
* @param {boolean=} showLegend flag to show the legend, defaults to true
1184
1197
* @param {array=} legendLabels the labels for the legend - defaults: ['< 70%', '70-80%' ,'80-90%', '> 90%']
1185
1198
* @param {array=} thresholds the threshold values for the heapmap - defaults: [0.7, 0.8, 0.9]
1186
1199
* @param {array=} heatmapColorPattern the colors that correspond to the various threshold values (lowest to hightest value ex: <70& to >90%) - defaults: ['#d4f0fa', '#F9D67A', '#EC7A08', '#CE0000']
1187
1200
* @param {function=} clickAction function(block) function to call when a block is clicked on
Copy file name to clipboardExpand all lines: src/charts/heatmap/heatmap.directive.js
+42-24Lines changed: 42 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,33 @@
14
14
*
15
15
* @param {string=} height height of the chart (no units) - default: "200"
16
16
* @param {string=} chartTitle title of the chart
17
+
* @param {boolean=} showLegend flag to show the legend, defaults to true
17
18
* @param {array=} legendLabels the labels for the legend - defaults: ['< 70%', '70-80%' ,'80-90%', '> 90%']
18
19
* @param {array=} thresholds the threshold values for the heapmap - defaults: [0.7, 0.8, 0.9]
19
20
* @param {array=} heatmapColorPattern the colors that correspond to the various threshold values (lowest to hightest value ex: <70& to >90%) - defaults: ['#d4f0fa', '#F9D67A', '#EC7A08', '#CE0000']
20
21
* @param {function=} clickAction function(block) function to call when a block is clicked on
0 commit comments