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
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
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
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
acb69ab410
add Configuration section to demo
2020-08-24 11:48:00 -05:00
epezent
30ffe79d1d
add StyleColorsX
2020-08-24 11:06:29 -05:00
epezent
1b4a2049a7
fix vertical text scaling and offset
2020-08-24 08:51:03 -05: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
0afa53059e
add Push/PopColormap, custom PlotShaded
2020-08-21 22:13:11 -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
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
59aa912e73
fix bugs in axis hit box detection
2020-08-19 11:34:52 -05:00
epezent
038a9c9282
document per axis menus in demo
2020-08-19 01:20:42 -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
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
be5c3b6959
wip rect rendering
2020-08-17 16:26:45 -05:00
epezent
4463fa107a
clean up refactors, organize implot_internal.h
2020-08-16 18:46:59 -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
510366e12e
document and demo PlotText colors
2020-08-16 00:24:09 -05:00
epezent
4db63635fb
add info about ImDrawIdx to benchmark demo
2020-08-16 00:14:05 -05:00
Evan Pezent
6a5e9401f7
rev up to v0.5
2020-08-07 13:04:31 -05:00
Evan Pezent
397fc05ca8
fix bug in IsPlotYAxisHovered
2020-07-26 21:39:17 -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
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
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
Evan Pezent
530367db09
move demo typedefs into namespace
2020-06-14 08:31:09 -05:00
Evan Pezent
07aed7d079
general reorginzation to plot item rendering
2020-06-14 08:27:58 -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
Evan Pezent
3a79ff39fc
fix memory leak in BenchmarkItem
2020-06-12 07:59:17 -05: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
4293345c54
Very minor change
2020-06-08 00:24:33 +01:00
Adriano Parisi
47bb805348
Increase H errors to highlight them
2020-06-08 00:19:14 +01:00
Adriano Parisi
ef549d1ab5
Added whiskers for H error bars, now showing desired feature
2020-06-08 00:16:50 +01:00
Adriano Parisi
3f84f43919
Building and showing in demo, now for adding horizontal errors
2020-06-08 00:05:56 +01:00
Evan Pezent
09ef003a81
clean up primitive rendering work, test new offset/stride and improve demo
2020-06-07 13:13:11 -05:00
Evan Pezent
523ae3aef4
fixed dragging issue where plots that were not mouse-clicked would be dragged
2020-06-06 17:54:46 -05:00
Evan Pezent
4be885bf57
Merge branch 'master' of https://github.com/epezent/implot
2020-06-04 09:57:02 -05:00
Evan Pezent
2a5a78565b
internal refactors and misc improvements
2020-06-04 09:56:50 -05:00
Evan Pezent
97c2f06eda
Fix trivial mistake in demo.
2020-06-04 00:17:38 -05:00
Evan Pezent
a70bbe5cff
internal refactors and demo improvements
2020-06-04 00:11:43 -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
663738452f
colormaps
2020-06-02 12:35:20 -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
3faaa5d25d
add ability to render filled lines
2020-05-31 16:32:32 -05:00
Evan Pezent
a4d1d03456
reorganize header
2020-05-31 09:17:07 -05:00
Evan Pezent
aa23d95e21
Merge branch 'double'
2020-05-29 12:43:51 -05:00
Evan Pezent
43625257b0
double precision work complete
2020-05-29 12:39:30 -05:00
Evan Pezent
aa13f3c335
fix bug in dnd demo
2020-05-22 07:42:07 -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
c4e9d64600
rename plotting functions, add PlotScatter
2020-05-16 08:43:24 -05:00
Evan Pezent
b783185acc
rename plotting functions, add PlotScatter
2020-05-16 08:39:43 -05:00
Evan Pezent
f383f8a914
merge pr
2020-05-15 08:01:00 -05:00
SergeyN
7d550d350e
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:36 +02: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
ozlb
c71f893aeb
Merge branch 'master' into master
2020-05-13 17:25:26 +02:00
ozlb
595d04c0c6
C++11 extensions update after enums with ImPlot
2020-05-13 17:24:11 +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
Evan Pezent
b11fb62f55
test negative offset, add to demo
2020-05-13 08:43:33 -05:00
ozlb
280cbf5cd4
Removed all C++11 extensions
...
src/implot.cpp:1270:25: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (ImTick& xt : gp.XTicks)
2020-05-13 06:57:27 +02:00
ozlb
1ea1a2664e
C++11 extension fixes
...
warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (ImTick &xt : gp.XTicks) {
for (ImTick &yt : gp.YTicks[i]) {
2020-05-13 06:45:34 +02:00
ozlb
69021f884d
namespace ImPlot
2020-05-12 11:20:23 +02:00
ozlb
435440c7da
QueryX removed for PR merge
2020-05-11 16:00:05 +02:00
ozlb
825198495e
Merge branch 'master' into master
2020-05-11 14:33:31 +02:00
ozlb
676906afae
PlotDigital updates on ImPlot v0.2 WIP
2020-05-11 13:13:43 +02:00