Closed maluta closed 5 years ago
Hi,
You can use the following :
s <- c('S1','S2','S3','S4','S5','S6','S7')
t <- c('100','100','100','50','10','0','0')
apexchart() %>%
ax_chart(type = "radialBar") %>%
ax_plotOptions(radial = radialBar_opts(
size = 200
)) %>%
ax_series2( t ) %>%
ax_labels2( s ) %>%
ax_subtitle(text = "")
Full API is close to the JavaScript API, so you can refer to the official documentation : https://apexcharts.com/javascript-chart-demos/radialbar-charts/multiple-radialbars/
Here you have to use ax_series2
and ax_labels2
because data for pie and radial chart use vector and not list for data.
Victor
Thanks Victor!
I'd like to create a view using multiple radial bars.
I successfully generate it using the following code:
Output:
But when I try to use Full API I'm struggling to map the parameters.
The following code isn't working
I would appreciate any tip in where am I going wrong?