Unofficial Spotfire Collection of Spotfire Script Snippets
TIBCO Community pages show us how to use JQuery properly
I am curious how I can have the y-axis range controlled by Property Control like a pair of Input Field (name them 'a' and 'b')? First test a=1, b=10; next test a=3, b=5. Thanks a lot!
Hello Chuck,If you are trying to pass parameters to the AxisRange do this:a = Document.Properties["a"]b = Document.Properties["b"]viz= viz1.As[VisualContent]()viz.YAxis.Range = AxisRange(a,b)Make sure your document properties (driven by Input Field Property Controls) are the correct data type. For categorical data, the range is expressed as two indices. Either end can be null, indicating a default value.
Post a Comment