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.

doodle__ungrouped__
0
20
40
60
80
100
120
140
160
180
200
220
240
260
280
300
320
340
360
380
400
420
440
460
480
500
520
540
560
580
600
620
640
660
680
700
720
740
760
780
800
820
840
860
880
900
0
0
00:00:00