Open akevalion opened 1 year ago
We could also have:
p := RSScatterPlot new x: (housing column: #longitude) values y: (housing column: #latitude) values.
p open: [ :canvas | "Do some customizations on canvas ]
To tweak a little the canvas. The method would do:
open: aBlock
| canvas |
canvas := RSChart new.
canvas addPlot: self.
canvas addDecoration: RSHorizontalTick new.
canvas addDecoration: RSVerticalTick new.
aBlock value: canvas.
canvas open
Moved to pharo-graphics/Roassal
from discord