mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 12:18:52 -05:00
6ee1559715
* add new padding algo * opposite working for y and x * remove name axis colors * move title label rendering * axis dev * clean up * pre formatter * formatter * changing over to multi x axes * more multi x changes * more multi x changes * more multi x changes * setup 75% there * 85% there * 85% there * remove query * update input handling * input and dnd tweaking * input testing * update demo * setup debug * setup debug * bug fixes * bug fixes * more debug * input * more setup * setup api almost complete * setup api almost complete * more clean up * cleanup * final commit before merge
70 lines
2.5 KiB
Markdown
70 lines
2.5 KiB
Markdown
The list below represents a combination of high-priority work, nice-to-have features, and random ideas. We make no guarantees that all of this work will be completed or even started. If you see something that you need or would like to have, let us know, or better yet consider submitting a PR for the feature.
|
|
|
|
## API
|
|
|
|
- add shortcut/legacy overloads for BeginPlot
|
|
|
|
## Axes
|
|
|
|
- add flag to remove weekends on Time axis
|
|
- pixel space scale (`ImPlotTransform_Display`), normalized space scale (`ImPlotTransform_Axes`), data space scale (`ImPloTransform_Data`)
|
|
- make ImPlotFlags_Equal not a flag -> `SetupEqual(ImPlotAxis x, ImPlotAxis y)`
|
|
- allow inverted arguments `SetAxes` to transpose data?
|
|
- `SetupAxisColors()`
|
|
- `SetupAxisConstraints()`
|
|
- `SetupAxisHome()`
|
|
|
|
## Plot Items
|
|
|
|
- add `ImPlotLineFlags`, `ImPlotBarsFlags`, etc. for each plot type
|
|
- add `PlotBarGroups` wrapper that makes rendering groups of bars easier, with stacked bar support
|
|
- add `PlotBubbles` (see MATLAB bubble chart)
|
|
- add non-zero references for `PlotBars` etc.
|
|
- add exploding to `PlotPieChart` (on hover-highlight?)
|
|
|
|
## Styling
|
|
|
|
- support gradient and/or colormap sampled fills (e.g. ImPlotFillStyle_)
|
|
- add hover/active color for plot axes
|
|
- API for setting different fonts for plot elements
|
|
|
|
## Colormaps
|
|
|
|
- gradient editing tool
|
|
- `RemoveColormap`
|
|
|
|
## Legend
|
|
|
|
- `ImPlotLegendFlags_SortItems`
|
|
- `ImPlotLegendFlags_Scroll`
|
|
- improve legend icons (e.g. adopt markers, gradients, etc)
|
|
- make legend frame use ButtonBehavior (maybe impossible)
|
|
|
|
## Tools / Misc.
|
|
|
|
- add `IsPlotChanging` to detect change in limits
|
|
- add ability to extend plot/axis context menus
|
|
- add LTTB downsampling for lines
|
|
- add box selection to axes
|
|
- first frame render delay might fix "fit pop" effect
|
|
- move some code to new `implot_tools.cpp`
|
|
|
|
## Optimizations
|
|
|
|
- find faster way to buffer data into ImDrawList (very slow)
|
|
- reduce number of calls to `PushClipRect`
|
|
- explore SIMD operations for high density plot items
|
|
|
|
## Completed
|
|
- make BeginPlot take fewer args:
|
|
- make query a tool -> `DragRect`
|
|
- rework DragLine/Point to use ButtonBehavior
|
|
- add support for multiple x-axes and don't limit count to 3
|
|
- make axis side configurable (top/left, right/bottom) via new flag `ImPlotAxisFlags_Opposite`
|
|
- add support for setting tick label strings via callback
|
|
- give each axis an ID, remove ad-hoc DND solution
|
|
- allow axis to be drag to opposite side (ala ImGui Table headers)
|
|
- legend items can be hovered even if plot is not
|
|
- fix frame delay on DragX tools
|
|
- remove tag from drag line/point -> add `Tag` tool
|