Jump to content

Spotfire Scatterplot crashes after settting AxisRange with IronPhyton


arthur Boender

Recommended Posts

Hi,

I have a issue with Spotfire crashing. Following script to set the ranges of the Y axis of the scatterplot is working, but when you try to view the propertie of the Y axisof the Scatterplot after execution Spotfire crashes.

 

Step 1 run following script

from Spotfire.Dxp.Application.Visuals import ScatterPlot, IndividualScalingMode, AxisRange

valueInput = Document.Properties["INPUTDROPDOWN"]

vc = vis.As[scatterPlot]()

if(valueInput == 'ON'):

vc.YAxis.Range = AxisRange('null', 10);

else:

vc.YAxis.Range = AxisRange('null', 100);

Step 2 Open scatterplot and view the Y Axis

Result Spotfire crashes

 

Regards Arthur

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