Jump to content

X axis slider, y axis scale to size when adjusting slider

Cam Deatherage

Recommended Posts


I have a line chart with three columns in the y axis and a x axis slider (Date)

When sliding on the x axis the y axis range stays the same.

I would like for this to adjust when sliding and changing the date range to scale to the current values.


I've tested out a snippet found onthe community site but still coming up with null values:

from Spotfire.Dxp.Application.Visuals import LineChart

from Spotfire.Dxp.Application.Visuals import IndividualScalingMode

from Spotfire.Dxp.Application.Visuals import AxisRange

from Spotfire.Dxp.Data import DataPropertyClass

#Define the charts


#Set the IndividualScaling property


#Set the Min/Max for each chart




print vc1.YAxis.Range

Output:AxisRange[Low=(null), High=(null)]



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...