GraphView.MarginBottom shifts ScrollOffset
See original GitHub issueI have a graph that displays only discrete values on the y-axis, so I set the ScrollOffset to (0, 0)
and AxisY.Increment
to an “integer”. This works like expected, I see only “integers” on the y labels and everything is fine.
However if I set MarginBottom
to e.g. 3 I don’t get the expected margin around the graph space where my labels can reside, but all my y labels are now askew and no longer “integers”.
Is that the intended behaviour? Do I have to calculate an appropriate ScrollOffset from CellSize
?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
third_party/blink/web_tests/TestExpectations - chromium/src
crbug.com/1142958 external/wpt/layout-instability/absolute-child-shift-with- ... /wpt/css/css-multicol/multicol-span-all-margin-bottom-001.xht [ Pass ].
Read more >vscode_settings · GitHub
// Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors....
Read more >Unity - Scripting API:
A NativeArray exposes a buffer of native memory to managed code, making it possible to share data between managed and native wi... GraphView.scaleStep....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m on a flight sea-ams. If there’s WiFi then 100%. If not, then 60%. 🤪
-cek Sent via mobile. Expect brevity, typos, and dangerous driving.
From: Benedikt Radtke @.> Sent: Monday, October 25, 2021 1:13:41 PM To: migueldeicaza/gui.cs @.> Cc: Charlie Kindel @.) @.>; Mention @.***> Subject: Re: [migueldeicaza/gui.cs] GraphView.MarginBottom shifts ScrollOffset (#1487)
Thanks for merging @tighttps://github.com/tig! Can you estimate whether you will ship another release before thursday?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/migueldeicaza/gui.cs/issues/1487#issuecomment-951272129, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CUZAFEPSPOO6G7KAITUIW27LANCNFSM5FZYJOUA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
v1.3.1 has just been pushed to nuget!