Hi all! I want to build a dynamic graph on a composer.. Is that possible?
It throws up an error on 'b add:ds', ie. when I want to add the dataset. It throws a 'MessageNotUnderstood' error. Can't I pass the Dynamic Grapher a RTStackedDataSet?
Thanks!
buildDynamicGraph:anObjectArray onComposer:aComposer
| b ds |
b := RTDynamicGrapher new.
b view: aComposer view.
ds := RTStackedDataSet new.
ds points: anObjectArray.
ds y: #second.
ds barShape width: 30.
ds histogramWithBarTitle: #first rotation: 0.
b add: ds.
b axisX noLabel; noTick.
b build.
^ b