Subscribe Bookmark RSS Feed

How to export a bubble chart into swf through code?

Hi,
I've prepared my JSL script, which builds a bubble chart with a year variable as time...so it's possible, from JMP to export it a SWF file, which is very nice indeed.
I was however trying to understand if it's possible to save it through JSL code...it'd be great!
Any idea if it's possible, and how to do it?
Thanks

Daniele
1 REPLY
mattf

Community Trekker

Joined:

Jun 23, 2011

dt = Open( "$SAMPLE_DATA/SATByYear.jmp" );

Bubble Plot(
X( :SAT Math ),
Y( :SAT Verbal ),
Sizes( :Name( "% Taking (2004)" ) ),
Time( :Year ),
ID( :Region, :State ),
All Labels( 1 ),
SendToReport(
Dispatch( {}, "1", ScaleBox, {Min( 490 ), Max( 580 ), Inc( 10 ), Minor Ticks( 0 )}),
Dispatch( {}, "2", ScaleBox, {Min( 490 ), Max( 580 )} ),
Dispatch( {}, "Bubble Plot", FrameBox, Frame Size( 550, 336 ) )
),
Go,
Save as SWF("c:/temp/bubble.swf")
);