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.

Upgrading from 5.1.1 to 5.2 causes plots not be drawn

See original GitHub issue

Upgrading from 5.1.1 to 5.2 causes plots not be drawn, with no errors, but the console acts as if it has been drawn.

E.g.

JSROOT.draw(dom_element, root_object);

works for 5.1.1 and 5.2.0, with the same console output:

Extract basic data type 3 TH1::EBinErrorOpt

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
linevcommented, Jun 11, 2018

What does this use behind the scenes to draw the plots? Has there been some change to the JSROOT.draw method which might cause it to draw in the official example but not in our application?

It depends how you use this method. Basic functionality is the same. Only return value is changed. If you want to to access painter instance, you should use forth callback parameter now:

https://root.cern/js/dev/jsdoc/JSROOT.html#.draw

0reactions
linevcommented, Jun 11, 2018

For some reason, with 5.1 the canvas was being resized, whereas with 5.2 it’s not resized when JSROOT.draw is called.

Probably, you are right. At some point I disable setting of canvas pixel size to html element - it may conflict with layout of other html elements. Dimension of div element for canvas should be provided by user.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BIG-IP 15.1.5.1 Fixes and Known Issues - AskF5
915981-3, 2-Critical, BIG-IP in Appliance Mode does not follow best practices ... Unable to perform IPI update (through proxy) after upgrade to 15.1.4....
Read more >
Unreal Engine 5.1 Release Notes
The C++ Unreal Header Tool is now deprecated and will be removed as soon as possible, but no earlier than UE 5.2. C++...
Read more >
Debug mode not working · Issue #17314 · spyder-ide ... - GitHub
Hi, I had the same exact problem and updating to 5.2.2 in a separate environment solved it! I am using Windows 11. Looking...
Read more >
Cisco APIC Installation and ACI Upgrade and Downgrade Guide
Use these GUI-based upgrade procedures to upgrade the software on the Cisco APICs in your fabric. If you are not able to upgrade...
Read more >
ENTRY SUMMARY ACCEPTANCE AND REJECTION POLICY
1.5 Rejected entry summaries must be returned to CSP in valid status with payment within 2 working days from day of rejection or...
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