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

337 Commits

Author SHA1 Message Date
epezent b74accfb59 edit custom popups demo 2020-09-01 01:35:36 -05:00
epezent 9e82be5bff tidy up legend context menus 2020-09-01 01:14:09 -05:00
Peter Johnson 8cbbfc241f
Add BeginPopupContextLegend and EndPopup
EndPopup is just a wrapper around ImGui::EndPopup.

BeginPopupContextLegend provides easy-to-use context menus for legend
entries along the lines of ImGui::BeginPopupContextItem.
2020-08-31 22:08:52 -07:00
epezent fb19e76443 tidy up legend DND 2020-08-31 23:58:15 -05:00
epezent fa2c704bb2 Merge branch 'legend-dnd' of https://github.com/PeterJohnson/implot into PeterJohnson-legend-dnd 2020-08-31 23:28:40 -05:00
epezent 9bc5b55766 Merge branch 'item-style' 2020-08-31 23:24:13 -05:00
epezent 71bf19b4c4 finish up item styling changes 2020-08-31 23:23:48 -05:00
Peter Johnson e783825e4b
Add BeginLegendDragDropSource
This uses pieces of the ImGui BeginDragDropSource implementation to
provide a method to drag from a legend entry.

EndDragDropSource is just a wrapper around ImGui::EndDragDropSource.
2020-08-31 20:38:14 -07:00
epezent 92f787944c fix casts in Getters 2020-08-31 11:38:37 -05:00
epezent 3e21d841a2 migrate PlotEx functinos to use Begin/EndItem 2020-08-30 21:03:11 -05:00
epezent dfc77f2ba4 add item styling API 2020-08-30 17:12:36 -05:00
epezent fce58ee075 add ImPlotScale, ImPlotNextItemData, BeginItem EndItem, and more 2020-08-30 11:03:25 -05:00
epezent 02e3226e51 more fixes for box selection and key modifiers 2020-08-29 08:31:34 -05:00
epezent ae568a3260 fix plot selection, remove ability to combine marker styles 2020-08-28 17:13:36 -05:00
epezent b198a8b2bc fix plot selection, remove ability to combine marker styles 2020-08-28 17:11:36 -05:00
Evan Pezent fc3658e420 setnextwindowpos fix 2020-08-26 10:33:31 -05:00
epezent 13c8f97215 add benchmark tool to demo 2020-08-26 09:50:59 -05:00
epezent b84e74b885 add global AA variable to ImPlotStyle 2020-08-25 22:47:03 -05:00
epezent 2880ae8414 Merge branch 'master' of https://github.com/epezent/implot 2020-08-25 21:59:45 -05:00
epezent cac7a61235 tick abstraction 2020-08-25 21:59:43 -05:00
epezent 0111edcd76 fix aux y axes for Light style 2020-08-24 13:59:57 -05:00
epezent acb69ab410 add Configuration section to demo 2020-08-24 11:48:00 -05:00
epezent 2f139f8a99 add StyleColorsX 2020-08-24 11:06:43 -05:00
epezent 30ffe79d1d add StyleColorsX 2020-08-24 11:06:29 -05:00
epezent 044ac47f51 fix context menu axis drag 2020-08-24 09:04:45 -05:00
epezent 8eb6bba63b Merge branch 'jaswantp-RecoverAxesLimits' 2020-08-24 09:04:01 -05:00
epezent 9f851e700b Merge branch 'RecoverAxesLimits' of https://github.com/jaswantp/implot into jaswantp-RecoverAxesLimits 2020-08-24 08:59:52 -05:00
epezent 1b4a2049a7 fix vertical text scaling and offset 2020-08-24 08:51:03 -05:00
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