Show colors at the top of the gantt's colorbar#1110
Conversation
|
Hi @omridanan , could you include some before and after screenshots of this change? Looks like there are also some failing figure factory tests that would need to be updated along with this. Thanks! |
|
Sure @jonmmease |
|
Thanks @omridanan , Rather than moving the dummy legend data to the top, could we avoid displaying all of the other traces in the legend to start with? We could do this by setting the What do you think? |
|
@jonmmease works great, I'll do it. |
c5a324c to
88661d0
Compare
|
Hi @omridanan , could you merge master into this branch? There are some updates to the testing infrastructure that make it easier to pinpoint test failures. |
|
@jonmmease seems to be fine now |
|
Looks good, this is a definite gantt chart improvement. Thanks! |



When creating gantt with custom colors and there are a lot of tasks, the color legends are located at the bottom of the colorbar and not visible until the user scroll down.
This fix creates the dummy data with the colors before the data itself. This way, we still have a scroll on the colorbar, but the colors are located at the top and the user can see them immediately.