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

68 Commits

Author SHA1 Message Date
Evan Pezent 5c9679c2ab
header documentation correction 2020-07-28 22:22:37 -05:00
Evan Pezent 7d0d2d1e65 rename IsPlotItemHighlighted to IsLegendEntryHovered 2020-07-26 21:49:31 -05:00
Evan Pezent 9815d64691 tidy up ozlb axis hovering work 2020-07-26 21:28:22 -05:00
ozlb 9df6f22555
IsPlotXAxisHovered, IsPlotYAxisHovered
Returns true if the XAxis plot area or YAxis[n] plot area in the current or most recent plot is hovered.
2020-07-14 23:43:57 +02:00
ozlb 140dd2bd8a
IsPlotItemHighlight
Returns true if plot item is highlight
2020-07-13 06:44:51 +02:00
Evan Pezent 8d205530cd Merge branch 'master' of https://github.com/epezent/implot 2020-06-15 21:00:45 -05:00
Evan Pezent 70a044ee17 improve mouse pos label precision 2020-06-15 21:00:42 -05:00
Evan Pezent c6ad6e9c7f clean up and debug input mappings 2020-06-15 19:54:58 -05:00
Evan Pezent 676ea011b8 Merge branch 'work-input-remap' of https://github.com/JaapSuter/implot into JaapSuter-work-input-remap 2020-06-15 17:08:47 -05:00
Evan Pezent 4bb00c71da typo in header 2020-06-15 17:08:42 -05:00
Jaap Suter ce79420146 Switched from in-class initialization to setting the default input mapping in a constructor in the .cpp file. 2020-06-15 09:55:30 -07:00
Jaap Suter f02088fef1 Changed from SetInputMap(ImPlotInputMap) to ImPlotInputMap& GetInputMap() per Evan's suggestion. 2020-06-15 08:54:53 -07:00
Evan Pezent 07aed7d079 general reorginzation to plot item rendering 2020-06-14 08:27:58 -05:00
Evan Pezent e2fd883224 remove adaptive divisions flag, not really used 2020-06-13 13:25:38 -05:00
Evan Pezent 1934bdfd47 remove culling flag, enabled by default now 2020-06-13 13:18:29 -05:00
Evan Pezent 808856dcc3 shaded plots complete 2020-06-13 12:59:48 -05:00
Evan Pezent fee873d74a shaded plots complete 2020-06-13 12:42:47 -05:00
Evan Pezent 61bc4d1426 working prototype for shaded plots 2020-06-12 22:02:43 -05:00
Jaap Suter 7f4f3ecd21 Added prototype/rough-attempt to allow remapping input (mouse-buttons/modifiers-keys). 2020-06-10 13:50:00 -07:00
Evan Pezent 0b3617668b tidy up error bars h, add sliders for misc styling variables to demo 2020-06-08 20:26:15 -05:00
Adriano Parisi 1d11b1a1a3 Refactored to only draw the horizontal bars, updated demo 2020-06-08 20:45:31 +01:00
Adriano Parisi 8931a8d36b Function decs for vert/hori error bars 2020-06-07 23:39:25 +01:00
Evan Pezent 2a5a78565b internal refactors and misc improvements 2020-06-04 09:56:50 -05:00
Evan Pezent 43f78f62b9 add formats to PieChart and Heatmap, fix compiler warnings 2020-06-03 22:18:47 -05:00
Evan Pezent f59913b8e0 finish custom ticks 2020-06-03 14:37:01 -05:00
Evan Pezent ea51c41b4a finish heatmaps 2020-06-02 22:07:27 -05:00
Evan Pezent 356e604bd2 colormaps 2020-06-02 12:34:14 -05:00
Evan Pezent 468ffe9ead initial heatmap prototype working 2020-06-01 22:14:22 -05:00
Evan Pezent 71e38ad770 start heatmap dev 2020-06-01 17:33:01 -05:00
Evan Pezent c7b10464a3 header cleanup 2020-05-31 09:28:34 -05:00
Evan Pezent a4d1d03456 reorganize header 2020-05-31 09:17:07 -05:00
Evan Pezent 0aa21d4b3f removed ImVec2* custom getters, use ImPlotPoint* getter functions 2020-05-31 09:07:24 -05:00
Evan Pezent 43625257b0 double precision work complete 2020-05-29 12:39:30 -05:00
Evan Pezent 5e82afdbdd change transformers names 2020-05-29 08:40:04 -05:00
Evan Pezent 2fd9d3f756 checkpoint 2020-05-16 21:53:59 -05:00
Evan Pezent 226ae4c10b checkpoint 2020-05-16 21:09:36 -05:00
Evan Pezent 3421c26270 change PlotBar to PlotBars 2020-05-16 09:14:48 -05:00
Evan Pezent 95aeba415e make default size arguments work 2020-05-16 09:11:29 -05:00
Evan Pezent b783185acc rename plotting functions, add PlotScatter 2020-05-16 08:39:43 -05:00
SergeyN c6cc4082ab warning fixes, removed conversions from float to double and back. removed static text buffers, use of secure sprintf functions on windows 2020-05-13 23:33:35 +02:00
Evan Pezent a0c9dc120c trim trailing whitespace 2020-05-13 09:11:25 -05:00
Evan Pezent 8e25aec9f5 prefix all public facing structs and enums with ImPlot 2020-05-13 09:08:12 -05:00
ozlb c812d2e79b
namespace ImPlot 2020-05-12 11:19:34 +02:00
ozlb 9bfd3902a1
QueryX removed for PR merge 2020-05-11 15:58:12 +02:00
ozlb 825198495e
Merge branch 'master' into master 2020-05-11 14:33:31 +02:00
ozlb 41ece38678
PlotDigital updates on ImPlot v0.2 2020-05-11 13:13:08 +02:00
Evan Pezent 329ad9dd80 tidy up multi y axis support 2020-05-11 00:45:46 -05:00
Josh Pieper 5eb4b71384 Support multiple Y axes simultaneously
This allows up to 3 Y axes to be used, one on the left side, and up to
2 on the right.  To use multiple axes, one of the `ImPlotFlags_Y2Axis`
or `ImPlotFlags_Y3Axis` must be passed to `BeginPlot`.  Then, before
each Plot call, SetPlotYAxis may be used to set that plot on an
alternate axis.

An extra line and ticks are rendered off to the right if all 3 axes
are configured (although those ticks are always only 5 long,
regardless of major status).  Each of the axes, when present, has a
(possibly invisible if ticks and labels are disabled) hit target that
can be used to scroll and scale that axis independently.

Some other changes were required to make this happen:
 * Queries are now only in pixel coordinates
 * ImPlotRange has been renamed to ImPlotBounds (and correspondingly
   GetPlotRange is now GetPlotBounds)
 * All APIs which allow querying values in plot coordinates now have
   an optional "y_axis" argument, which can be -1 to use the currently
   selected axis, or non-negative to pick a specific axes.
 * BeginPlot used to lock all flags on the first call.  Now it only
   locks the axis flags, and not the primary plot flags.
 * The mouseover text now renders the 2nd and 3rd axis in parenthesis.
2020-05-10 21:27:26 -04:00
Josh Pieper d432920439 Fix a trivial documentation copy-paste-o 2020-05-09 09:13:37 -04:00
ozlb 494b9eb61d
PlotDigital multi level
Plot digital channels as float (only positive values)
2020-05-09 06:54:16 +02:00