Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 208657

echarts4r gauge chart value in %

$
0
0

I have a minimal example and want to display value in percent. Any ideas?
Here you can find the API documentation.

maxValue <- 160

echarts4r::e_charts() %>% 
  echarts4r::e_gauge(
    value = round(runif(1, 0, maxValue)), 
    name = "description",
    radius = "80%",
    startAngle = 210, #225,
    endAngle = -30, #-45,
    min = 0,
    max = maxValue,
    splitNumber = maxValue/20
  )

Viewing all articles
Browse latest Browse all 208657

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>