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

559 Commits

Author SHA1 Message Date
jaswantp b2db7d11ec
Recover from almost equal axis limits.
When state.Axis->Range.Size() == DBL_EPSILON, the 'speed' to DragFloat is about 1.0e-14 which makes it virtually impossible to recover from that state!
The fix proposes to detect and adjust the drag_speed accordingly.
2020-08-24 15:18:29 +02:00
epezent 5cc168dbf0 change demo back to float 2020-08-24 00:18:43 -05:00
epezent 1884d3d7d5 overhaul styling 2020-08-23 23:45:42 -05:00
epezent db16011e73 reorganize header 2020-08-22 23:26:49 -05:00
epezent 9b8270d939 overhaul log plots - improve zoom, labels, and fit 2020-08-22 22:55:37 -05:00
epezent 63e2ce3ddd fix bug in IsPlotHovered, add more data to candlestick demo 2020-08-22 01:44:19 -05:00
epezent 0fd704b2a6 reorder demo code to avoid confusion 2020-08-22 00:57:06 -05:00
epezent eff8b5be43 fix bug where no offsetting was done for ImPlotPoint* and ImVec2* plotters 2020-08-22 00:35:41 -05:00
epezent 5039315122 add custom getters to demo 2020-08-22 00:16:37 -05:00
epezent 9b85a2ef6e Merge branch 'master' of https://github.com/epezent/implot 2020-08-21 22:13:24 -05:00
epezent 0afa53059e add Push/PopColormap, custom PlotShaded 2020-08-21 22:13:11 -05:00
Evan Pezent a8e7194f2b
Update README.md 2020-08-21 08:00:01 -05:00
epezent 9deca4e422 add overloads for PlotShaded, ImPlotStyleVar_PlotPadding, and ImGui Tables API demo section 2020-08-20 23:01:21 -05:00
epezent a41d413790 add FitNextPlotAxes 2020-08-19 23:50:46 -05:00
epezent 7da6ed69f3 add FitNextPlotAxes 2020-08-19 23:50:12 -05:00
epezent ff29f1ebcc add tooltip to candlestick demo 2020-08-19 12:25:12 -05:00
epezent 8c125ccd6b small fix to query 2020-08-19 11:43:00 -05:00
Evan Pezent c1daaab8ea
Merge pull request #96 from jaswantp/SkipDrawQuery
Draw query rect only when query enabled.
2020-08-19 11:37:45 -05:00
epezent 59aa912e73 fix bugs in axis hit box detection 2020-08-19 11:34:52 -05:00
jaswantp ac07bea9ac
Merge pull request #1 from jaswantp/SkipDrawQuery
Draw query rect only when ImPlotFlags_Query is set.
2020-08-19 14:40:11 +02:00
jaswantp 36a86cf955
Draw query rect only when query enabled. 2020-08-19 14:31:26 +02:00
epezent 038a9c9282 document per axis menus in demo 2020-08-19 01:20:42 -05:00
epezent b409aecd30 add per axis context menus 2020-08-19 01:18:05 -05:00
epezent 53c867f414 code cleanup, define magic numbers, add minimum plot size constraint, misc improvements to tick mark labels 2020-08-19 00:04:05 -05:00
epezent 0926677b52 improve candlestick demo 2020-08-18 11:17:16 -05:00
epezent 017a273862 Merge branch 'master' of https://github.com/epezent/implot 2020-08-18 11:10:29 -05:00
epezent 642bc97a6e improve candlestick demo 2020-08-18 11:10:22 -05:00
Evan Pezent 2df34aea12
Update README.md 2020-08-17 20:52:49 -05:00
Evan Pezent 47a76851ee
typo 2020-08-17 20:40:19 -05:00
epezent 7763b9cf43 add example for custom plotters 2020-08-17 20:20:15 -05:00
epezent 2bc716d2b6 misc clean up, experimental rect rendering, center PlotText 2020-08-17 18:31:30 -05:00
epezent d7e3cc78ac Merge branch 'master' of https://github.com/epezent/implot 2020-08-17 16:26:48 -05:00
epezent be5c3b6959 wip rect rendering 2020-08-17 16:26:45 -05:00
epezent 632808ca4c fixed template specialization on GCC 2020-08-17 16:04:08 -05:00
epezent bd4036fbff fix max idx calculation 2020-08-16 20:16:19 -05:00
epezent 34c3829277 Merge branch 'v0.5' 2020-08-16 18:49:17 -05:00
epezent 803d250bb6 bug in debug mode 2020-08-16 18:48:09 -05:00
epezent 4463fa107a clean up refactors, organize implot_internal.h 2020-08-16 18:46:59 -05:00
Evan Pezent 73eb27456a
Update README.md 2020-08-16 15:43:41 -05:00
Evan Pezent a011de9e3f
Merge pull request #92 from epezent/v0.5
Add explicit ImPlot context creation/destruction and major refactors
2020-08-16 15:42:17 -05:00
epezent d9ae47bf2b finish refactoring implot for v0.5 2020-08-16 15:38:51 -05:00
epezent 862f96c560 add implot_internal.h 2020-08-16 11:36:20 -05:00
epezent 86a9e51f9d add explicit context creation/destruction 2020-08-16 10:25:06 -05:00
Evan Pezent a130aa414f
Merge pull request #91 from PeterJohnson/fix-warning
Fix compiler warning in implot_demo.cpp
2020-08-16 08:21:17 -05:00
Peter Johnson a5d1f85040
Fix compiler warning in implot_demo.cpp
implot_demo.cpp:1012:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
2020-08-15 23:47:18 -07:00
epezent 96dc5b5a28 expose NextColormapColor 2020-08-16 00:49:34 -05:00
epezent 510366e12e document and demo PlotText colors 2020-08-16 00:24:09 -05:00
Evan Pezent df0a159391
Merge pull request #84 from ozlb/patch-1
PlotText color
2020-08-16 00:18:12 -05:00
epezent 4db63635fb add info about ImDrawIdx to benchmark demo 2020-08-16 00:14:05 -05:00
Evan Pezent c09d160d19
Merge pull request #88 from bear24rw/imdrawidx_32bit
Fix overflow when using 32-bit ImDrawIdx
2020-08-15 23:25:11 -05:00