Added axis and plot flag support

This commit is contained in:
4bb4 2020-08-23 20:10:24 +02:00
parent 42ae2779bb
commit 84d10092be
4 changed files with 158 additions and 13 deletions

View file

@ -10,7 +10,7 @@ imgui-rs requires minimum Rust version 1.40, so this project does as well by ext
Currently the master branch of imgui-rs is used as a dependency until
https://github.com/Gekkio/imgui-rs/pull/339 makes it into a release.
The sys crate compiles imgui, so a C++ compiler will also be required.
The sys crate compiles implot, so a C++ compiler will also be required.
## Status
Currently a work in progress. The author is open to collaboration, if you'd like to
@ -19,3 +19,43 @@ help, feel free to reach out via a Github issue.
At this point, raw bindings are working in implot-sys, and more idiomatic interfaces
for plot creation as well as adding lines to plots are implemented. Everything else
is still being built.
- [x] "BeginPlot"
- [x] Basic hello world
- [x] Plot flags
- [ ] Plotting functionality
- [ ] Line plot
- [x] Single y axis
- [ ] Multiple y axes
- [ ] Scatter plot
- [ ] Bar plot
- [ ] Vertical
- [ ] Horizontal
- [ ] Error bar plot
- [ ] Vertical
- [ ] Horizontal
- [ ] Text
- [ ] Heatmap
- [ ] Pie chart
- [ ] Digital data
- [ ] Plot customization
- [ ] Enums
- [x] Axis flags
- [ ] Markers
- [ ] Styling colors
- [ ] Styling variables
- [ ] Colormaps
- [ ] Plot querying
- [ ] is hovered
- [ ] mouse position
- [ ] mouse limits
- [ ] is queried
- [ ] GetPlotQuery
- [ ] Utils
- [x] Plot limit setting
- [ ] Plot tick setting
- [ ] Plot y axis setting for subsequent elements
- [ ] plot position and size reading
- [ ] Pixel to plot position
- [ ] Plot to pixel position
- [ ] Push/pop plotclip rect (?)