简体   繁体   中英

Remove value display from eCharts4R gauge chart

Given this example

library(echarts4r)
library(magrittr)

gauge_out <- e_charts() %>%
  e_gauge(41,"Percent")

print(gauge_out)

You get this gauge chart

在此处输入图像描述

I'd like to NOT have the number "41" displayed at the bottom. From looking through the eCharts docs if there's a quick way to do that I seem to be missing it.

Got it...

library(echarts4r)
library(magrittr)

gauge_out <- e_charts() %>%
  e_gauge(41,"Percent", 
          detail = list(
            show = FALSE
          ))

print(gauge_out)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM