* SubPlots: Y axis padding over multiple plots
* Align Plots Group
new signature ID, ImPool to store padding data, demo
* Align plots orientation (vertically, horizontally)
vertical will align Y axis, horizontal will align X axis.
*signature changed
* ImPlotOrientation used as flag for 2D grids of aligned plots
https://github.com/epezent/implot/pull/144#issuecomment-725849368
* AlignPlots updates to merge with v.0.9
* Sync to v0.9 20210127
* subplots proto
* make link flags work
* stuff
* add multi-line centered titles
* subplots work
* flag ideas
* better subplot positioning
* resizable subplots
* subplot shared items
* subplot ratios
* some cleanup and refactor
* some cleanup and refactor
* refactors and demo reorganization
* context menus...almost done!
* context menus, bug fixes
* active id
* make implot use ButtonBehavior throughout
* bug fixes
* more bug fixes
* tweaks
* fix id issue
* finish work on subplots
Co-authored-by: ozlb <ozlb@users.noreply.github.com>
When painting a graph with densely labeled ticks on the X axis, it may be
necessary to add newlines in the labels to avoid label text overlap.
Reserve appropriate padding space for that.
* Allow second and third axes to have labels
* Handle both axes in one loop
* fix compiler warnings, add ImPlotAxisFlags_NoLabel
* fix bug when y2 label hidden
Co-authored-by: epezent <epezent@rice.edu>
Several `CollapsingHeader()` use same label as `BeginPlot()`. This creates an ID collision, which confuses Dear ImGui testing engine. Added `##` in `CollapsingHeader()` label are included in ID calculation, but discarded when rendering. This gives affected `CollapsingHeader()` a different ID and solves ID collision.