Jump to content

Does anyone have a script that can set a Y-axis min and max values

Manoj Chaurasia

Recommended Posts

  • 5 years later...

Use can this script. And you need to change the visualization type accordingly as this is for a combination chart.

from Spotfire.Dxp.Application.Visuals import CombinationChart

from Spotfire.Dxp.Application.Visuals import AxisRange


#To set the axis range:

CombChart1 = c1.As[CombinationChart]()#c1 is a script parameter referenced to your viz

CombChart1.YAxis.Range = AxisRange(0,7000)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...