Gadfly Layer Order (Geom.point and Geom.line)

  1. This works:
plot( 
  layer(ft, 4, 8, Geom.line),
  layer(iris, x=:SepalLength, y=:SepalWidth, color=:Species)
  )
  1. This should work:
layer(ft, 4, 8, Geom.line, order=2)

but there is currently a bug, which I’ll put on the to do list.

  1. About this:
layer(ft, 4, 8, Geom.line(order=2))

Geoms are like sublayers, and a layer can contain several Geoms.
So Geom.line(order=2) controls the sublayer order, but not the layer order.