The radial! method allows for taking an xy_plot such as a bar and converting it from cartesian2d to radial (i.e circular) axes. While this method will work with any xy_plot having an xAxis data element, you might get silly results if using with charts other than a bar chart.

Method Signatures

radial!(ec::EChart)

Optional Arguments

None currently

Examples

Single Series

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

Multiple Series, Stacked

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