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
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
Evan Pezent
0969a8df83
Merge pull request #90 from PeterJohnson/fix-yaxis-settings
...
Fix yaxis setting updates not working
2020-08-15 23:22:47 -05:00
Peter Johnson
214504a20e
Fix yaxis setting updates not working
...
The new values were being stored in PreviousFlags instead of Flags.
2020-08-15 21:05:03 -07:00
Max Thrun
1ec47915d3
Fix overflow when using 32-bit ImDrawIdx
2020-08-13 16:04:21 -07:00
Evan Pezent
6a5e9401f7
rev up to v0.5
2020-08-07 13:04:31 -05:00
ozlb
ab9217049a
PlotText color
...
PlotText color properties inherited from ImGuiCol_Text, so it can be customized by `ImGui::PushStyleColor(ImGuiCol_Text, <myColor>);`
2020-08-05 04:59:05 +02:00
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
397fc05ca8
fix bug in IsPlotYAxisHovered
2020-07-26 21:39:17 -05:00
Evan Pezent
5ee62dd86a
Merge branch 'ozlb-master'
2020-07-26 21:28:46 -05:00
Evan Pezent
9815d64691
tidy up ozlb axis hovering work
2020-07-26 21:28:22 -05:00
Evan Pezent
db38039e97
Merge branch 'master' of https://github.com/ozlb/implot into ozlb-master
2020-07-26 20:10:24 -05:00
Evan Pezent
b1e2e501d0
Update README.md
2020-07-25 08:11:43 -05:00
Evan Pezent
e847aa786d
bug fix: calculate adaptive divisions after canvas bounding box is calculated
2020-07-25 07:59:47 -05:00
Evan Pezent
0a3442f389
fix issue with heatmap bounds not working correctly
2020-07-25 07:52:15 -05:00
Evan Pezent
7a4bb510fb
Merge pull request #71 from JoelLinn/fix-zerodiv
...
Fix divison by zero when plotting 0 data lenght.
2020-07-19 17:53:48 -05:00
Joel Linn
e43be28452
Fix divison by zero when plotting 0 data lenght.
2020-07-20 00:09:35 +02: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