Commit Graph

231 Commits

Author SHA1 Message Date
Samuele Mazzi 35f7955475 feat: add ImPlotPieChartFlags_Exploding (#592) 2024-12-24 08:09:05 -06:00
Stewart Mccready 2b2a6e4901 Added IMGUI_DISABLE_DEMO_WINDOWS support (#603)
Unlike ImGui only ShowDemoWindow of the public implot.h api is actually defined in implot_demo.cpp.

Refrained from moving ShowStyleEditor, ShowStyleSelector, ShowUserGuide, ShowMetricsWindow to implot_demo.cpp like ImGui.
2024-12-24 08:04:09 -06:00
ocornut 419a8a0f5f Added support for IMGUI_DISABLE. (#563) 2024-10-29 17:36:47 +01:00
ocornut f156599fae Remove trailing blanks. 2024-01-22 11:32:06 +01:00
Ben 22ef01e8c6 Small Pie Chart enhancements (#412)
* Added ImPlotPieChartFlags_IgnoreHidden flag. Added PlotPieChart overload that accepts an ImPlotFormatter.

* Fixed a potential division by zero in PlotPieChart.

* Removed PlotPieChart overload code duplication
2023-09-26 10:14:14 -05:00
Mikhail 7b9171569b Ability to query point, line and rect drags for their click, hovered and held states (#507)
* Added optional parameters to Drag.. functions to query state of items: clicked, hovered, held

See also #506

* Updated click/hover/held code

* Added demo
* DragRect is now report state of the entire rect

* Fix DragRect interaction; improve demo; some preferential changes

* Added held state handling for the DragRect rectangle

---------

Co-authored-by: epezent <epezent16@gmail.com>
2023-08-23 11:55:25 -05:00
Evan Pezent a2632b9d0b Implement legend scrolling and update scroll capture behavior when zooming (#504)
* Fully functional legend scrolling

* refactor legend scroll capture

* remove ImPlotFlags_NoChild scroll capturing in favor of ImGui::SetKeyOwner

* change scroll capture behavior to only capture if scroll can be consumed

* rev version, add note about removal of ImPlotFlags_NoChild
2023-08-20 17:17:34 -05:00
epezent 18c72431f8 Update version and copyright year 2023-08-19 21:43:34 -05:00
epezent bfc1e0908e Fix bug and possibility of misuse in Demo_SubplotsSizing 2023-08-19 20:20:28 -05:00
ocornut 85573fe04a Version 0.15
Add missing changelog.
v0.15 tag/release was previously set on cc5e1da about 3 weeks ago, will attempt to change tag into this commit.
2023-08-06 19:22:08 +02:00
Minty-Meeo fb084f3719 Use 'nullptr' instead of 'NULL' (#465) 2023-04-17 15:21:32 +02:00
Joshua Minor fcb51d2c9c Use snprintf instead of sprintf in implot_demo.cpp (#426)
* Use snprintf instead of sprintf in implot_demo.cpp

* Enlarged text buffer

Co-authored-by: BenBE <BenBE@geshi.org>

Co-authored-by: BenBE <BenBE@geshi.org>
2022-11-25 09:21:45 -06:00
omar 626e391670 Fixes for ImGuiModFlags_XXX -> ImGuiMod_XXX (v1.89) (#347) (#407)
Sorry!
2022-09-29 13:00:23 -05:00
Evan Pezent 3e13c95986 Add ImPlotLegendFlags_Sort (#404)
* add ImPlotLegendFlags_Sort

* replace qsort_s with qsort
2022-09-17 14:23:26 -05:00
Rokas Kupstys 002ffc95bc Fix truncation warnings. (#392) 2022-09-06 18:17:09 -05:00
Evan Pezent 7a470b2e17 add ImPlotAxisFlags_NoSideSwitch and ImPlotAxisFlags_NoHighlight 2022-07-07 20:27:24 -05:00
Evan Pezent fc0fd11246 ImPlotLineFlags_Shaded and ImPlotStairsFlags_Shaded 2022-06-22 11:00:42 -05:00
Evan Pezent 6c00109636 make ColormapScale reversable 2022-06-20 07:48:51 -05:00
Evan Pezent 0f4d4dccc3 add ImPlotColormapScaleFlags 2022-06-19 22:51:51 -05:00
Evan Pezent 6f4986b14f add ColormapSlider to demo 2022-06-19 21:14:36 -05:00
Evan Pezent 63d5ed94b7 Features/item flags (#319)
* add PlotBarGroups and layout some plans for flags

* exprimentin

* item flags added to each plotter

* rendering templates

* rendering templates

* item flags and axis scales

* item flags

* template markers

* markers

* benching

* buffer

* inline adjust

* inline fix

* dunno

* fix some todos

* tickers

* clean up

* update TODO

* update breaking changes

* demo cleanup

* remove TODO label

* header cleanup
2022-06-18 22:59:32 -05:00
Evan Pezent 3dd7e75c7d gaurd IMPLOT_DISABLE_OBSOLETE_FUNCTIONS in implot_demo.cpp 2022-05-08 10:40:27 -05:00
Evan Pezent 947c2c02e4 gaurd IMPLOT_DISABLE_OBSOLETE_FUNCTIONS in implot_demo.cpp 2022-05-08 10:40:16 -05:00
omar df4256c9e8 Demo: tweak for runtime speed. (#353) 2022-04-20 20:19:01 -07:00
omar 1160243218 Fix for 1.88 WIP (18716) renaming ImGuiKeyModFlags to ImGuiModFlags (#347) 2022-04-05 06:58:12 -07:00