omar
626e391670
Fixes for ImGuiModFlags_XXX -> ImGuiMod_XXX (v1.89) ( #347 ) ( #407 )
...
Sorry!
2022-09-29 13:00:23 -05:00
omar
8879c99aef
Fix for allowing core imgui to use typed ImGuiCol / ImGuiStyleVar enums. ( #405 )
2022-09-23 19:30:19 -05:00
Evan Pezent
3e13c95986
Add ImPlotLegendFlags_Sort ( #404 )
...
* add ImPlotLegendFlags_Sort
* replace qsort_s with qsort
2022-09-17 14:23:26 -05:00
Evan Pezent
4ba42f200a
address a few static analysis warnings
2022-09-17 13:17:07 -05:00
Evan Pezent
57149164d5
Fix clamp in SetupAxisTicks
2022-09-17 10:25:30 -05:00
Evan Pezent
921a81f307
Replace assert with clamp in SetupAxisTicks
2022-09-17 10:20:20 -05:00
ozlb
e80e42e8b4
ImPlotTimeFmt_MinSMs ( #383 )
2022-07-29 07:57:51 -05:00
ozlb
220f5c9ab4
Annotation Label y axis fix ( #384 )
2022-07-28 22:41:21 -05:00
Evan Pezent
7a470b2e17
add ImPlotAxisFlags_NoSideSwitch and ImPlotAxisFlags_NoHighlight
2022-07-07 20:27:24 -05:00
Evan Pezent
f33a5990d7
Merge branch 'master' of https://github.com/epezent/implot
2022-07-07 19:04:24 -05:00
Evan Pezent
1fed5c2c19
temp fix for time formatted mouse position text
2022-07-07 19:04:16 -05:00
K
b4aec718a5
fix merge typo in Locator_Time() ( #380 )
2022-07-07 18:31:05 -05:00
Evan Pezent
6c00109636
make ColormapScale reversable
2022-06-20 07:48:51 -05:00
Evan Pezent
0f4d4dccc3
add ImPlotColormapScaleFlags
2022-06-19 22:51:51 -05:00
Evan Pezent
63d5ed94b7
Features/item flags ( #319 )
...
* add PlotBarGroups and layout some plans for flags
* exprimentin
* item flags added to each plotter
* rendering templates
* rendering templates
* item flags and axis scales
* item flags
* template markers
* markers
* benching
* buffer
* inline adjust
* inline fix
* dunno
* fix some todos
* tickers
* clean up
* update TODO
* update breaking changes
* demo cleanup
* remove TODO label
* header cleanup
2022-06-18 22:59:32 -05:00
Rokas Kupstys
79b05d5e25
Fix freed memory read error in AddTicksTime(). Invalid read occurred when LabelTickTime() resizes ticks.TextBuffer while last_major held pointer pointing into old now freed buffer. ( #365 )
...
Fixed a warning about condition depending on uninitialized ImPlotLegend::PreviousLocation.
2022-06-17 09:09:25 -05:00
Evan Pezent
32a4617cd6
fix legend icons and drag tools with ImGui::KeepAliveID
2022-05-08 10:23:42 -05:00
omar
1160243218
Fix for 1.88 WIP (18716) renaming ImGuiKeyModFlags to ImGuiModFlags ( #347 )
2022-04-05 06:58:12 -07:00
Evan Pezent
f438a21813
fix comment find/replace accident
2022-01-30 10:26:21 -08:00
Evan Pezent
86f4dd6e5c
use ImFormatString instead of sprintf/snprintf
2022-01-30 10:19:29 -08:00
Evan Pezent
adfc96810e
remove unecessary msvc warning disables
2022-01-30 10:08:55 -08:00
Evan Pezent
8d3bd31395
-Wformat-nonliteral
2022-01-30 10:06:39 -08:00
Evan Pezent
c0da6fea04
add PlotBarGroups
2021-10-24 00:25:46 -07:00
Evan Pezent
6ee1559715
Setup API ( #294 )
...
* add new padding algo
* opposite working for y and x
* remove name axis colors
* move title label rendering
* axis dev
* clean up
* pre formatter
* formatter
* changing over to multi x axes
* more multi x changes
* more multi x changes
* more multi x changes
* setup 75% there
* 85% there
* 85% there
* remove query
* update input handling
* input and dnd tweaking
* input testing
* update demo
* setup debug
* setup debug
* bug fixes
* bug fixes
* more debug
* input
* more setup
* setup api almost complete
* setup api almost complete
* more clean up
* cleanup
* final commit before merge
2021-10-19 20:01:06 -07:00
Evan Pezent
c40206f2ea
spaces
2021-09-07 20:24:34 -07:00
sergeyn
0fb3346a7a
custom context management (same way as in ImGui) ( #278 )
2021-08-24 08:08:00 -07:00
Evan Pezent
3e96fd7c02
improve indexing, line rendering performance by 45% ( #270 )
...
* add IndexData and Indexers
* simplify transformers
* 30% improvement
* moving around
* add TODO.md
* fix bar plot aliasing
* finishup indexing
* remove debug bools
2021-07-30 20:27:02 -07:00
Evan Pezent
c8601ac0d5
rev version, fix unused lines
2021-07-29 19:14:13 -07:00
Evan Pezent
4be83def59
add IsSubplotsHovered
2021-07-28 11:52:57 -07:00
Evan Pezent
507459fd5f
move axis equal constraint after pixel determination
2021-07-23 16:32:57 -07:00
Evan Pezent
2dc2a4cfd5
improve tick label culling
2021-07-15 20:40:51 -07:00
Evan Pezent
51930a5ae6
fix imgui backward compat, YAxis[3], and add new demo benchmark option for LineG
2021-07-09 17:39:12 -07:00
Evan Pezent
eb40cc908d
Merge branch 'master' of https://github.com/epezent/implot
2021-07-07 22:18:51 -07:00
Evan Pezent
389781c31c
v0.11 WIP
2021-07-07 22:18:38 -07:00
Evan Pezent
8c1bbf4d8d
Subplots ( #203 )
...
* 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>
2021-07-07 21:06:15 -07:00
Evan Pezent
e9469cf347
constrain values <= 0 to DBL_MIN for log axes, fix div by zero
2021-06-08 20:31:30 -07:00
Evan Pezent
3109940b46
handle equal axis edge case when user sets x limits
2021-06-06 21:13:40 -07:00
Evan Pezent
4edb1c75b6
fix GetColormapSize
2021-06-06 17:42:00 -07:00
omar
450e5b80df
Fix for ImPool change in Dear ImGui version 18303+ ( #239 )
2021-06-03 11:45:25 -07:00
Jann
555ff688a8
add appropriate space for X tick labels with newlines ( #214 )
...
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.
2021-04-10 09:31:12 -07:00
epezent
04ae3728f8
fix smaplecolormapu32
2021-04-07 20:02:35 -07:00
epezent
27bc59eb43
fix linked axis and auto fitting issue #205
2021-03-30 16:23:21 -07:00
Evan Pezent
41a0e2c9fe
add ImPlotAxisFlags_RangeFit and ImPlotAxisFlags_Foreground ( #200 )
2021-03-28 12:59:25 -07:00
Evan Pezent
ed1baf471a
Adds SetNextPlotFormatX/Y for custom tick label formatting ( #198 )
...
* add SetNextPlotFormat
* work on pruning
* finish up fmt
2021-03-25 09:19:00 -06:00
epezent
4b0f9c9495
fix debug build error
2021-03-24 22:28:35 -06:00
epezent
ab110ceec8
misc refactors/improvements
2021-03-24 16:35:44 -06:00
epezent
e5c457b326
tidy up selection/query code, add new methods
2021-03-23 23:50:02 -06:00
epezent
ef6c55cd00
tidy up selection/query code, add new methods
2021-03-23 23:42:26 -06:00
epezent
5db2ba3b22
make plots initially fit to plotted data on first frame
2021-03-20 22:56:47 -06:00
epezent
ccd29a646f
rev up to v0.10
2021-03-20 20:45:31 -06:00