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

492 Commits

Author SHA1 Message Date
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
epezent 1d674e7557 range fit on candlestick demo 2021-03-28 13:10:03 -07:00
Evan Pezent 41a0e2c9fe
add ImPlotAxisFlags_RangeFit and ImPlotAxisFlags_Foreground (#200) 2021-03-28 12:59:25 -07:00
Evan Pezent 707a0bee36
Update README.md 2021-03-27 00:27:57 -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 7aab224742 make inline funcs static, add culling to PlotShaded 2021-03-20 21:22:18 -06:00
epezent db6b0356ee Merge branch 'master' of https://github.com/epezent/implot 2021-03-20 20:45:38 -06:00
epezent ccd29a646f rev up to v0.10 2021-03-20 20:45:31 -06:00
Evan Pezent 95a530f05c
Update README.md 2021-03-19 23:17:34 -06:00
Evan Pezent eff70aeee0
Update README.md 2021-03-19 23:14:17 -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