Method Signatures

smooth!(ec::EChart) #All series
smooth!(ec::EChart, series::Int) #Single series, specified by number
smooth!(ec::EChart, series::Vector{Int}) #Multiple series, specified in array

Optional Arguments

smooth::Bool = true

Examples

using ECharts
x = ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
y = [11, 11, 15, 13, 12, 13, 10]
ar = area(x, y, color = lineargradient("purple", "cyan"))
smooth!(ar)
xaxis!(ar, name = "Day of Week")
yaxis!(ar, name = "Daily High Temperature °C")