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

Add offset by X, not only by Y #294

Open
georgevangelou opened this issue Mar 8, 2023 · 0 comments
Open

Add offset by X, not only by Y #294

georgevangelou opened this issue Mar 8, 2023 · 0 comments

Comments

@georgevangelou
Copy link

georgevangelou commented Mar 8, 2023

Hi all!

I trying to create a graph resembling a Gantt chart. Because of that, I need to create bars horizontally. Sometimes, these bars need to have offsets in the X axis, which I see is not supported by the library.

I will show a simple example:

image

I want to force Bar 2 to start somewhere above in the middle of Bar 1. I have defined the following traces:

image

Of course, I have commented Offset = 1, since this moves the bar in the Y direction and not in the X, as I intend it to move.

Is there a way to have a X offset? Could this be implemented as a feature? Do you have any alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant