1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-26 12:18:52 -05:00
Commit Graph

477 Commits

Author SHA1 Message Date
epezent ccd29a646f rev up to v0.10 2021-03-20 20:45:31 -06:00
epezent eea12d6b4c make PlotHeatmap autoscaling by default 2021-03-19 22:43:03 -06:00
Evan Pezent 1d9381a004
Adds PlotHistogram and PlotHistogram2D, Improves Colormaps and Heatmap (#148) 2021-03-17 07:38:45 -05:00
omar b85a2c0800
Fix for changes in imgui master + fix misuse of ImGui::Value() (#186) 2021-03-16 06:37:45 -05:00
epezent 46ea9abab4 improve ShowColormapScale 2021-03-07 12:36:01 -06:00
epezent 607703d2af Merge branch 'master' of https://github.com/epezent/implot 2021-03-03 09:10:43 -06:00
epezent b958abf459 bandaid for zero formatting issues 2021-03-03 09:10:33 -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
Preston Cothren 7234801868
Merge pull request #1 from Pcothren/Pcothren-patch-1
DatePicker separate disabled color
2021-01-31 15:00:20 -06:00
Preston Cothren 413fb083ad
[#174] DatePicker separate disabled color
Separate disabled color from the selected date to the truly disabled dates in another month. Move setting col/styles after we are done getting them.
2021-01-31 14:51:16 -06:00
Philippe Kehl e64df657b2
render x-axis drag/drop hover (#149)
Co-authored-by: Philippe Kehl <philippe.kehl@fixposition.com>
2021-01-19 19:52:34 -06:00
epezent 6e2499093b add PrimUnreserve to AddTextVertical when the render characters is less than the expected characters (fixes utf8 issues) 2021-01-19 19:42:22 -06:00
Evan Pezent c73509d6d1
make context menus open on single right click, move ImPlotInputMap out of public API (see implot_internal.h) (#170) 2021-01-18 21:49:23 -06:00
Evan Pezent 798e2e7585
Update README.md 2021-01-15 02:17:00 -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
Evan Pezent a6bab98517
Update README.md 2021-01-06 09:52:59 -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
Evan Pezent a9d3347915
Update README.md 2020-12-09 19:44:08 -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
epezent b22c21f912 fix bad defs in implot_internal and add WriteV to ImBufferWritter 2020-12-06 11:09:53 -06:00
Yan 9b5adca5f1
Center constant data when fitting. (#154)
Co-authored-by: Yan Zaretskiy <yzaretskiy@stoneridgetechnology.com>
2020-12-04 13:33:44 -06:00
Philippe Kehl 4af202a988
fix compiler warning re. 'if does not guard...' (#152)
Co-authored-by: Philippe Kehl <philippe.kehl@fixposition.com>
2020-12-04 06:46:34 -06:00
epezent 9974ce1a30 update readme 2020-12-04 00:25:45 -06:00
epezent 10a58c52ca typos and incorrect docs 2020-12-04 00:07:50 -06:00
epezent b369d62f86 remove inline on LabelTickTime 2020-12-03 23:47:27 -06:00
epezent fa10a03a53 add ImPlotStyleVar_FitPadding 2020-12-03 23:27:38 -06:00
epezent 24b543839b fix addtickstime definition and heatmap labels 2020-12-03 07:20:55 -06:00
Evan Pezent 95eb2ea78d
Update README.md 2020-11-16 17:26:32 -06:00
Evan Pezent af7d99cbca
Update README.md 2020-11-16 09:58:16 -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
Nick Postma ad29c9a046
Option for not rendering the title of the graph. (#140)
* Update implot.h

* Update implot.cpp

Added the flag implementation of NoTitle. I needed a smal form factor barchart.

* Update implot.cpp

Same codestyle as original.

* Update implot.h
2020-11-10 07:45:25 -06:00
Edvard Thörnros c942a400e4
IM_NORMALIZE2F_OVER_ZERO -> IMPLOT_NORMALIZE2F_OVER_ZERO (#142)
Avoids warnings when compiling with certain compilers.
2020-11-10 07:42:51 -06:00
epezent 862b8c44ea update tables demo to use TableHeadersRow 2020-10-27 08:06:40 -05:00
Evan Pezent f506f94c08
Update README.md 2020-10-23 16:27:45 -05:00
epezent adbec89ae9 Merge branch 'master' of https://github.com/epezent/implot 2020-10-21 10:08:48 -05:00
epezent 96e0fd9c57 fix crashing caused by legend refactors, add ShowMetricsWindow (WIP) 2020-10-21 10:08:41 -05:00
Evan Pezent 638ae7d5f7
Update README.md 2020-10-20 16:57:11 -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
epezent ce6d720828 header org 2020-10-12 09:51:22 -05:00
Evan Pezent 394516cedb
Merge pull request #130 from sonoro1234/varargs
Addition of va_list V versions of Annotate and AnnotateClamped
2020-10-12 09:47:22 -05:00
Evan Pezent 92bc4d64e3
Update implot_demo.cpp 2020-10-12 09:45:27 -05:00
Victor Bombi b5cf8b8431 Addition of va_list V versions of Annotate and AnnotateClamped 2020-10-11 09:53:28 +02:00
epezent 8a3ccf0a44 remove BustItemCache from SetColormap and add ShowColormapSelector 2020-10-11 00:38:18 -05:00
Evan Pezent da5b4ab8d3 fix compile issue with latest ImGui 2020-09-28 16:38:27 -05:00