hoffstadt / hoffstadt/DearPyGui

[Feature] Have drag lines/points rendered above heat series data

Open
#1,820 5 comments 1 reaction 0 assignees View on GitHub
state: pending type: improvement
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I'd like to add a cursor made up of a pair of drag_lines and a drag_point on top of a heat series plot for moving around and investigating different aspects of the data. However it seems like there's no way to get the dragable objects to show up in front of the data, and instead they are hidden by the data, albeit still functional.

**Describe the solution you'd like**
It seems like the drag lines should be able to show up in front of the plot, but by default they are put before the axis/heat_series in the render order, and there's no way to set the axis objects to render before the dragables, as there's no `before` keyword for `add_plot_axis()`. So, it seems like having this option to set the axis and plot series data to be set to render before the dragables would be ideal.

**Describe alternatives you've considered**
I've tried playing around with staging, and manually changing the relevant items ordering in their parents without much success.

**Additional context**
Here's a simple example of how the items appear below the data. Despite being added after.
![python_ghZ7HH4mCZ](https://user-images.githubusercontent.com/14968322/176257287-b4299dfd-71de-4693-abcd-fecd1932178d.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.