Display bugs with rotated labels
See original GitHub issueOriginal change in https://github.com/facebookresearch/hiplot/pull/213
Workaround: Use version <= 0.1.28
hi there. I’ve tried to track down which recent changes to hiplot resulted in my plots getting significantly harder to read, and narrowed it down to
0.1.28
->0.1.29
and believe this is the PR responsible.This perfectly readable and stacked display: turned into which cuts off the final column name if I make the window any more narrow and causes a weird spacing issue on the right-side.
I very much support improving the visual interface of hiplot but I believe this hurt the overall experience. Would you be open to discussing some of the changes made here and perhaps a partial revert? Or am I best served maintaining a separate fork of the project? (I am not a front-end developer but am trying very hard to use hiplot in a tool I am building).
The above screenshots were in Opera (I’ve noticed Safari has had existing trouble with dragging columns). I also noticed that on Safari, this same change resulted in “ghosting” of the headers upon scrolling (and did not fix the aforementioned problem):
(that’s the “rearranging” problem in safari I mentioned, the annotation divorces from the column)
(original report in https://github.com/facebookresearch/hiplot/pull/214 from @mathematicalmichael )
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top GitHub Comments
Yes I believe that’s the correct solution
Currently the rotation angle depends on the number of columns (more rotation for more columns). The rightmost column has its font-size scaled down so it fits on the screen
That’s indeed something I didn’t try at this point, and I don’t believe it works out of the box …
Hi @mathematicalmichael
Sure. Can you follow the instructions here to get started with developing HiPlot? (let me know if something is unclear, so I can update the doc accordingly)
Then what you want to modify is: (1) The right margin (2) The actual rotation angle (and maybe the font size as well) https://github.com/facebookresearch/hiplot/blob/69300173553b3b687b6baf3b06be9e35543157c6/src/parallel/parallel.tsx#L692-L693