Graph2d | Scrolling and Sorting

You can determine the height of the Graph2d seperately from the height of the frame. If the graphHeight is defined, and the height is not, the frame will auto-scale to accommodate the graphHeight. If the height is defined as well, the user can scroll up and down vertically as well as horizontally to view the graph.

Vertical scrolling is planned, though not yet available. The graphHeight also does not conform if only the height is defined.

You can manually disable the automatic sorting of the datapoints by using the sort option. However, doing so does reduce the optimization of the drawing so if you have a lot of points, keep sort turned on for the best results.