Subscribe Bookmark RSS Feed

Change Legend in Bubble Plot

teresa

Community Trekker

Joined:

Jun 23, 2011

Does anyone know how can I change Title and properties (color and level name) of Bubble Plot's Legend.

I have try to write the same JSL than in Graph Builder, but I do not know how to reference the Legend (see ??????? below). My incorrect sintax is:

gb=New Window("Grafico-01",
Bubble Plot(
X( :año ),
Y( :Value ),
Time( :año ),
Coloring( :Variable ),
ID( :Variable, :private ),
Trail Bubbles( 1 ),
Trail Lines( 1 ),
All Labels( 0 ),
No Labels( 0 ),
Selectable Across Gaps( 1 ),
Legend( 1 ),
Title Position( 2.04, 7.5 ),
SendToReport(
Dispatch(
{},
"?????????",
ScaleBox,
{Legend Model(
3,
Level Name( 0, "ATENCIÓ"" ),
Level Name( 1, "TEMPS" ),
Level Name( 2, "MESURES" ),
Level Name( 3, "INSTAL" ),
Level Name( 4, "CONDICIONS" ),
Properties( 0, {Fill Color( 0 )} ),
Properties( 1, {Fill Color( 0 )} ),
Properties( 2, {Fill Color( 0 )} ),
Properties( 3, {Fill Color( 0 )} ),
Properties( 4, {Fill Color( 0 )} ),
Properties( 5, {Fill Color( 0 )} )
)}
),
Dispatch( {}, "?????????", LegendBox, {Set Title( "Item evaluat:" )} ),
Dispatch( {}, "Value", TextEditBox, {Set Text( "Puntuació mitjana" )} ),
Dispatch( {}, "año", TextEditBox, {Set Text( "Any de l'enquesta" )} )
)
)
);