Method Signatures

#Array methods
polar(angle::AbstractVector, radius::AbstractVector{<:Union{Missing, Real}})
polar(angle::AbstractVector, radius::AbstractArray{<:Union{Missing, Real}, 2})

Optional Arguments

splitNumber::Int = 12
showSymbol::Bool = false
legend::Bool = false
kwargs... #modifies top-level `EChart` fields

Examples

Single Series

using ECharts
t = 0:360
angle = [a / 180 * pi for a in t]
radius = [(sin(2t) * cos(2t)) for t in angle]
p = polar(angle, radius)

Multiple Series

using ECharts
t = 0:360
angle = [a / 180 * pi for a in t]
radius = [(sin(2t) * cos(2t)) for t in angle]
radius2 = [(sin(2.5t) * cos(2.5t)) for t in angle]
p2 = polar(angle, hcat(radius, radius2))