Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Adjust clicking area for x labels #32

Open
lee1043 opened this issue Jun 8, 2020 · 0 comments
Open

Adjust clicking area for x labels #32

lee1043 opened this issue Jun 8, 2020 · 0 comments
Assignees

Comments

@lee1043
Copy link
Contributor

lee1043 commented Jun 8, 2020

Screen Shot 2020-06-05 at 1 32 44 PM

This is part of plot, for x-axis label, clicking area (in grey) is pretty wide to below and above the label itself, which the above part overlaps with the portrait plot itself. I need to shorten the clicking area, can you give a hint where should I start?


Comments from @doutriaux1:

vcs gettextextent
the function above is what is ued to determine the box length. Ask Carlos and Dan Lipsa, it comes back from VTK
gettextextent calls VTK
then we convert that to vcs's x/y . And then these to png dims
The last part works for sure
You can ask Carlos to check that what we get from VTK is converted correctly to VCS' x/y coordinatinates
if that's correct ask Dan to check the our call to VTK is correct and that there's no bug in VTK

I do believe we have a test in the test suite for this. Ask Paul and Carlos if they remember which testit is

@lee1043 lee1043 self-assigned this Jun 8, 2020
@lee1043 lee1043 changed the title Adjust clicking area for x/y labels Adjust clicking area for x labels Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant