the VarsList to collect data from
the LabCanvas where the graph should appear
the HTML div where controls should be added
the HTML div where the graphCanvas is located
the SimRunner controlling the overall app
Add the control to the set of simulation controls.
the control that was passed in
Returns a minimal string representation of this object, usually giving just identity information like the class name and name of the object.
For an object whose main purpose is to represent another Printable object, it is
recommended to include the result of calling toStringShort
on that other object.
For example, calling toStringShort()
on a DisplayShape might return something like
this:
DisplayShape{polygon:Polygon{'chain3'}}
a minimal string representation of this object.
Generated using TypeDoc
Creates two independent graphs which have a common horizontal time axis, but the graphs can have different vertical scales. Each graph consists of a SimView, GraphLine, DisplayGraph, AutoScale, DisplayAxes. This makes it possible to see together two GraphLines with very different scales. The horizontal variable can be changed to something other than time, but we ensure that both graphs have the same horizontal variable.
Creates several controls to modify the graph (but no pan-zoom control because it gets too confusing with the independent graphs).
Each graph has its own DisplayAxes, which are shown in the same color as the GraphLine. One of the axes are placed on the right, and the other is on the left.