Hello,
I am trying to manipulate the axes of a graph with Dispatch. The following code works well:
SendToReport(
Dispatch(
{},
"Precursor",
ScaleBox,
{Min( 3395001600 ), Max( 3413404800 ), Interval( "Day" ), Inc( 5 ), Minor Ticks( 0 ), Rotated Labels( 1 )}
),
However, I need to script quite a number of graphs, so I would like to wrap them into a loop, which also works in principle (the graphs are created and the data displayed). What does not work, is the manipulation of the axes. The code I use is:
date_list= list("Precursor", "BL", "TCO");
i=1;
SendToReport(
Dispatch(
{},
date_list,
ScaleBox,
{Min( 3395001600 ), Max( 3413404800 ), Interval( "Day" ), Inc( 5 ), Minor Ticks( 0 ), Rotated Labels( 1 )}
),
This does not work. The message I get in the log is
Cannot find ScaleBox Subscript
Does JMP9 accept variables in Dispatch?
Any help is appreciated.
Cheers
Arno