This script is a sample script to toggle zoom slider on X axis of a bar chart
You can adopt this script to show hide Y axis or other chart types
from Spotfire.Dxp.Application.Visuals import BarChart
barchart1.As[BarChart]().XAxis.ManualZoom = not (barchart1.As[BarChart]().XAxis.ManualZoom )
Here barchart1 is mapped to the barchart whose zoom slider needs to be toggled
Comments
Post a Comment