We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df11e6 commit 9d0ea28Copy full SHA for 9d0ea28
1 file changed
R/treemap.R
@@ -218,7 +218,7 @@ hgch_treemap_CatCatNum <- function(data,
218
219
ColInt <- if (is.null(colors)) {
220
getPalette()[1:Ngr]} else {
221
- colors
+ colors <- colorRampPalette(colors)(Ngr)
222
}
223
224
@@ -248,7 +248,7 @@ hgch_treemap_CatCatNum <- function(data,
248
style = list(
249
fontSize = '15px',
250
fontWeight = 'bold'
251
- ))))) %>%
+ ))))) %>%
252
hc_add_theme(custom_theme(custom = theme))
253
254
if (export) hc <- hc %>%
0 commit comments