Method Signatures

#Array methods
gauge(x::Union{Missing, Real})

Optional Arguments

breakpoints::AbstractVector = [0.2, 0.8, 1]
colors::AbstractVector = ["#91c7ae", "#63869e", "#c23531"]
kwargs... #modifies top-level `EChart` fields

Examples

Default

using ECharts
gg = gauge(27.64)

Change Colors and Breakpoints

using ECharts
gg2 = gauge(27.64, colors = ["lightgreen", "lightblue","red"], breakpoints = [.4, .7, 1])