#Array methods pie(names::AbstractVector, values::AbstractVector{<:Union{Missing, Real}}) donut(names::AbstractVector, values::AbstractVector{<:Union{Missing, Real}}; radius = ["50%", "80%"])
selected::Union{AbstractVector, Void} = nothing radius::Union{AbstractVector, AbstractString, Void} = "90%", center::Union{AbstractVector, AbstractString, Void} = ["50%", "50%"] roseType::Union{AbstractString, Void} = nothing #choice of {"angle", "radius"} legend::Bool = false kwargs... #modifies top-level `EChart` fields
using ECharts x = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"] y = [11, 11, 15, 13, 12, 13, 10] p = pie(x, y)
using ECharts values = [335, 310, 234, 135, 1548] names = ["direct traffic", "email marketing", "advertising alliance", "video ads", "search engine"] explode = [true, false, false, false, false] pe = pie(names, values, selected = explode)
using ECharts x = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"] y = [11, 11, 15, 13, 12, 13, 10] d = donut(x, y)
using ECharts values = [335, 310, 234, 135, 1548] names = ["direct traffic", "email marketing", "advertising alliance", "video ads", "search engine"] rose = pie(names, values, roseType = "angle")
using ECharts values = [335, 310, 234, 135, 1548] names = ["direct traffic", "email marketing", "advertising alliance", "video ads", "search engine"] radiusd = donut(names, values, roseType = "radius")