Script that allows showing or hiding the Axis Selectors in visualization.
Introduction
Script that allows showing or hiding the Axis Selectors in visualization.
Code sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. from Spotfire.Dxp.Application.Visuals import VisualContent visual = myvis.As[VisualContent]() if(visual.XAxis.ShowAxisSelector==True): visual.XAxis.ShowAxisSelector = False else: visual.XAxis.ShowAxisSelector = True if(visual.YAxis.ShowAxisSelector==True): visual.YAxis.ShowAxisSelector = False else: visual.YAxis.ShowAxisSelector = True #'myvis' is a script parameter of type 'Visualization'.
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.