Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only.
These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use.
Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability.
Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing.
The software is provided as is with no guarantees or support.
The ViewerMagnifierAPI allows to magnify a specified region of the current view.
Example
// Get an instance of the ContextAPIconstmyContext : ContextAPI = webvis.getContext( "example" )// Get default viewerconstviewer = myContext.getViewer();// Enable magnifier for viewerviewer.changeMagnifier({enabled:true}) // Change magnifier propertiesviewer.changeMagnifier({roundness:50, position: [1000,720], size: [500,300], zoomLevel:2}) // Alternatively, enable magnifier and set all properties in one callviewer.changeMagnifier({roundness:50, enabled:true, position: [1000,720], size: [500,300], zoomLevel:2})
The ViewerMagnifierAPI allows to magnify a specified region of the current view.
Example