Is `recalculateLayoutOnMouseUp` deprecated in ScottPlot 4.1?
See original GitHub issueHi Scott,
I’m finally doing an upgrade from 40.2 (or a similar early version) and I’m coming across a few quirks. The biggest however right now is finding a solution to “recalculateLayoutOnMouseUp”
I can’t find where it is documented any more, and my app is littered with statements for this call.
Did I miss something in the upgrade? Is it deprecated? I see plenty of other examples using it, but it’s not working for me.
'Configuration' does not contain a definition for 'recalculateLayoutOnMouseUp' and no accessible extension method 'recalculateLayoutOnMouseUp' accepting a first argument of type 'Configuration' could be found (are you missing a using directive or an assembly reference?)
Cheers, Steve
Issue Analytics
- State:
- Created 2 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ScottPlot Changelog
ScottPlot 4.1.67 ... Arrowhead functionality of scatter plots has been deprecated. ... Controls now have a recalculateLayoutOnMouseUp option to prevent ...
Read more >Changelog
Palette ) will not be marked obsolete until ScottPlot 5. ... Work toward ScottPlot 4.1 began in October, 2020 and merged into the...
Read more >ScottPlot 4.1.13-beta
ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets.
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
Ok, thanks @swharden and @KroMignon That all makes sense now.
Yes, I was coming from a much earlier version, and I’ve managed to get the program running again after changing plenty of things. Now to work on the new layout methods and the 4.1 way of doing things and tweaking even more. Thanks again.
Hi @vrdriver and the group,
Unlike ScottPlot 4.0 which only recalculated the layout after the mouse button was released, ScottPlot 4.1 recalculates the layout continuously (before each rendered frame). This means the
recalculateLayoutOnMouseUp
field is no longer necessary!If you wish to have more advanced control over the layout (or disable the automatic adjustment) more information can be found here: https://scottplot.net/faq/layout/