Method Signatures

jitter!(ec::EChart) #jitter all series with the same arguments
jitter!(ec::EChart, series::Int) #jitter a single series

Optional Arguments

pctxrange::Real = 0.05
pctyrange::Real = 0

Examples

Baseline

using ECharts
srand(42)
x = rand(1:10, 500)
y = rand(0:10, 500) + x
a = scatter(x, y)

Add +/- 5% jitter to X-Axis

jitter!(a)

Add different jitter to X-Axis and Y-Axis

using ECharts
srand(45)
x = rand(1:10, 500)
y = rand(0:10, 500) + x
a = scatter(x, y)
jitter!(a, pctxrange = 0.1, pctyrange = 0.05)