nanogui
nanogui copied to clipboard
Added an option to draw the graph vertically
This introduces an optional setter to the Graph class/widget, set_draw_vertical(bool). This sets an internal boolean do_draw_vertical which, when set to true, will cause the graph to be effectively rotated by 90 degrees: the graph is drawn with value magnitudes appearing along the horizontal axis rather than the vertical.
Sample snip:
