Jump to content
We've recently updated our Privacy Statement, available here. ×
  • How to reset zoomslider using IronPython Script in Spotfire®


    The following is an example on how to reset the zoom slider.

    Introduction

    The following is an example on how to reset the zoom slider.

    Code sample

    # Copyright © 2017. TIBCO Software Inc.  Licensed under TIBCO BSD-style license.
    
    from Spotfire.Dxp.Application.Visuals import VisualContent
    from Spotfire.Dxp.Data import Range
    
    vc = vis.As[VisualContent]()  
    # vis is a parameter added to the script, which corresponds to a desired visualization 
    vc.XAxis.ZoomRange = vc.XAxis.ZoomRange.DefaultRange
    vc.YAxis.ZoomRange = vc.YAxis.ZoomRange.DefaultRange
     

    References

    License:  TIBCO BSD-Style License

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...