radialbar is a convenience method combining bar and radial!, in the cases when you know you want a radial bar chart from the beginning. The method signatures for radialbar and bar are identical, so that you can use them interchangeably in code without having to worry about syntax differences.

Method Signatures

radialbar(x::AbstractVector, y::AbstractVector{<:Union{Missing, Real}})
radialbar(x::AbstractVector, y::AbstractArray{<:Union{Missing, Real}, 2})

#DataFrame methods
radialbar(df::AbstractDataFrame, x::Symbol, y::Symbol)
radialbar(df::AbstractDataFrame, x::Symbol, y::Symbol, group::Symbol)

Optional Arguments

mark::Union{String, AbstractVector} = "bar"
stack::Union{Bool, AbstractVector, Void} = nothing
legend::Bool = false
scale::Bool = false
kwargs... #modifies top-level EChart properties

Examples

Single Series

using ECharts
x = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
y = [11, 11, 15, 13, 12, 13, 10]
b = radialbar(x, y)

Multiple Series, Stacked

using ECharts
x = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
y = [11, 11, 15, 13, 12, 13, 10]
b = radialbar(x, hcat(0.95 .* y, 1.25 .* y,y), stack = [1,1,2])