1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-13 22:48:50 -05:00
Commit Graph

188 Commits

Author SHA1 Message Date
Evan Pezent 1d9381a004
Adds PlotHistogram and PlotHistogram2D, Improves Colormaps and Heatmap (#148) 2021-03-17 07:38:45 -05:00
epezent 46ea9abab4 improve ShowColormapScale 2021-03-07 12:36:01 -06:00
Evan Pezent dd2d9ce032
fix buffer overflow 2021-03-02 21:43:45 -06:00
Evan Pezent 67e0876f89
Improved Drag and Drop Support (#172)
* prototyping enhanced dnd features

* improve dnd demo using new utils

* dnd stuff

* finish up dnd improvements

* remove unused code, fix timestamps
2021-02-28 18:10:23 -06:00
Evan Pezent 6f7bf5f38b
adds PlotVLines and PlotHLines for plotting infinite reference lines (#166) 2021-01-15 01:52:37 -06:00
epezent 5fd1ecdfd7 add ability to fill shaded plot to +/- INFINITY 2021-01-11 13:22:52 -06:00
Yan 5b59b47bae
Allow second and third axes to have labels (#163)
* 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>
2021-01-06 09:34:03 -06:00
Rokas Kupstys fa10618df6
Fix ID collisions in the demo (#157)
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.
2020-12-08 07:31:18 -06:00
Evan Pezent 40cbe88673
Add ImPlotFlags_Equal and simplify axis-related structs in implot_internal.h (#147)
* prototyping equal axes

* equal proto

* more refactors

* euqal axes almost perfect

* fitting axis equal working

* fitting axis equal working

* finish equal axis
2020-11-15 21:47:06 -06:00
epezent 48c0d6fe38 add legend ctx menu, rev up to 0.9 2020-11-10 08:27:28 -06:00
epezent 862b8c44ea update tables demo to use TableHeadersRow 2020-10-27 08:06:40 -05:00
epezent 96e0fd9c57 fix crashing caused by legend refactors, add ShowMetricsWindow (WIP) 2020-10-21 10:08:41 -05:00
epezent eb935d0b4f simplify legend demo 2020-10-19 18:11:38 -05:00
Evan Pezent 42d93bcdbc
add stairstep plots (#136) 2020-10-19 10:00:03 -05:00
Evan Pezent 587c8b6221
Configurable Legend Locations (#135)
* add support for ISO 8601 timestamps

* clean up work on ISO 8601

* legend location proto

* location docs

* add horizontal legends, and ability to position mouse location

* add ShowAltLegend

* add ShowAltLegend

* default sizing for ShowAltLegend

* finish up legend locations
2020-10-18 23:26:34 -05:00
Evan Pezent f9a15a7147
Add Option for ISO 8601 Date Formatting (#132)
* add support for ISO 8601 timestamps

* clean up work on ISO 8601
2020-10-14 22:07:27 -05:00
Evan Pezent 92bc4d64e3
Update implot_demo.cpp 2020-10-12 09:45:27 -05:00
epezent 8a3ccf0a44 remove BustItemCache from SetColormap and add ShowColormapSelector 2020-10-11 00:38:18 -05:00
epezent 93bab1930e fix missing marker in demo 2020-09-20 08:30:34 -05:00
epezent 019de727ba fix bug in demo 2020-09-19 22:02:55 -05:00
epezent 1911116b3b remove ImPlotStyleVar_AnnotationOffset 2020-09-19 21:25:44 -05:00
epezent 13e430a9e5 add annotation API 2020-09-19 20:54:19 -05:00
epezent a7ae1bca53 rename and refine draglines and dragpoints 2020-09-19 12:33:33 -05:00
epezent 9c4ef16696 change function names, fix issues with scroll 2020-09-18 22:05:43 -05:00
epezent bbbf4e2a42 anchor point prototype 2020-09-18 13:37:55 -05:00
epezent 297c69dae8 fix selection over guides 2020-09-18 08:22:06 -05:00
epezent 4ed7d01637 finish guides 2020-09-17 23:31:16 -05:00
epezent c6aff1362c Merge branch 'master' into guides 2020-09-17 21:02:19 -05:00
epezent fd746c3776 plot image demo 2020-09-17 20:34:37 -05:00
epezent 13927c608d add public API for horizontal and vertical guide lines 2020-09-17 09:58:33 -05:00
Max Thrun 39328e1106 add an example demonstrating how you can make custom dragable lines 2020-09-16 21:59:54 -07:00
epezent 117816d4e1 add option for 24 hour clock 2020-09-12 10:25:47 -05:00
epezent 5e0e60b969 test xscale and x0 2020-09-10 15:59:08 -05:00
epezent 4f0a09f14d add xscale and x0 to values* functions 2020-09-09 23:29:29 -05:00
epezent 3cdf7add04 finish date/time picker 2020-09-09 09:00:50 -05:00
epezent 729bd762cc date picker finished, time picker working 2020-09-08 23:47:02 -05:00
epezent 700a7bab56 add IMPLOT_API macro, confirm DLL linkage working 2020-09-07 20:59:43 -05:00
epezent 75e779c931 finish templetizing API, several optimizations to plotting pipeline, remmove t_float etc from demo 2020-09-07 16:08:59 -05:00
epezent 48cc6e15d6 Merge branch 'master' into templates 2020-09-07 10:54:49 -05:00
epezent 3206209777 add more benchmarks 2020-09-07 10:17:44 -05:00
epezent 8fdeacac54 use different types in demo 2020-09-07 00:33:47 -05:00
epezent 2eeceb3e22 templetize PlotLine, PlotScatter, PlotShaded, PlotBars, PlotBarsH 2020-09-07 00:16:47 -05:00
epezent 930c4b2eb4 initial testing of templates 2020-09-06 22:34:58 -05:00
epezent 902cf44234 rev up to 0.8 2020-09-06 21:20:38 -05:00
epezent d8610c33c7 trim white space 2020-09-06 21:08:25 -05:00
epezent 5ea558cf51 fix demo axis flags 2020-09-06 20:51:41 -05:00
epezent 2206af8c1e merge linked axes 2020-09-06 16:09:00 -05:00
epezent 901f0558b1 fix up time format demo 2020-09-06 14:48:16 -05:00
epezent 6f3f43c815 ImPlotAxisFlags_NoDecorations 2020-09-06 01:38:18 -05:00
epezent be6e1c2d2e invert ImPlotAxisFlags 2020-09-06 01:32:15 -05:00