Manoj Chaurasia Posted July 3, 2014 Share Posted July 3, 2014 Does anyone have a script that can set a Y-axis min and max values Thanks in advance! Link to comment Share on other sites More sharing options...
Digvijoyee Deviranjan Das 2 Posted April 2, 2020 Share Posted April 2, 2020 from Spotfire.Dxp.Application.Visuals import * from Spotfire.Dxp.Application.Visuals import ScaleAxismyVis = Document.ActiveVisualReference.As[VisualContent]()#Sets the Y-Axis Range to Min and Max myVis.YAxis.IndividualScaling = True myVis.YAxis.IndividualScaling = False myVis.YAxis.Range = AxisRange(100,1000) Link to comment Share on other sites More sharing options...
Shashank Gurnalkar Posted April 3, 2020 Share Posted April 3, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now