question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphView.MarginBottom shifts ScrollOffset

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
tigcommented, Oct 25, 2021

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.

2reactions
tigcommented, Oct 27, 2021

v1.3.1 has just been pushed to nuget!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found