Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow boxes of different height on the timeline graph #4943

Open
mvonweis opened this issue Dec 16, 2024 · 0 comments
Open

allow boxes of different height on the timeline graph #4943

mvonweis opened this issue Dec 16, 2024 · 0 comments
Labels
feature something new P3 backlog

Comments

@mvonweis
Copy link

Hi,

I have a situation where I would like to visualize the burn rate of projects on a timeline. It would be most logical to present this as the height of each box. Currently every row in the timeline graph is of uniform height, and there is no provision for changing the size.

Would it be possible to add a new feature for varying heights within the timeline graph? Something like this (in Plotly Express):
`df = pd.DataFrame([
dict(Task="Project A", Start='2009-01-01', Finish='2009-02-28', Burnrate=200),
dict(Task="Project B", Start='2009-03-05', Finish='2009-04-15', Burnrate=75),
dict(Task="Project C", Start='2009-02-20', Finish='2009-05-30', Burnrate=110)
])

fig = px.timeline(df, x_start="Start", x_end="Finish", y="Task", size="Burnrate")
fig.show()`

Also, while the boxes can be drawn very slim (low size values), there probably needs to be a minimum row height determined by the label text.

Something similar could probably be built by stacking bar charts or area plots in one facet column, but I think the resulting graph would be too high and might also be visually too complicated.

Cheers,
--Martin

@gvwilson gvwilson changed the title Feature request: boxes of different height on the timeline graph? allow boxes of different height on the timeline graph Dec 16, 2024
@gvwilson gvwilson added feature something new P3 backlog labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants