Cuando las opciones del selector de columnas son demasiado largas, el gráfico se alarga. ¿Cómo podemos configurar el selector de columnas para que muestre inicialmente menos opciones, mostrando un máximo de 5 elementos? Los usuarios pueden desplazarse hacia abajo para encontrar más opciones si lo desean. Como se muestra en el ejemplo a continuación, mostrar demasiadas opciones a la vez alarga todo el gráfico.
dt = Open( "$SAMPLE_DATA/Employee Master.jmp" );
Graph Builder(
Size( 534, 658 ),
Show Control Panel( 0 ),
Variables( X( :Unique Id ), Y( :Employee Id ) ),
Elements( Points( X, Y, Legend( 3 ) ) ),
Column Switcher(
:Employee Id,
{:Employee Id, :Job Code, :Position Code, :Intorg Hr, :Intorg Mgr, :Employee Name, :Address Line1,
:Address Line2, :City, :State, :Citizenship Country, :Gender, :Gender Code, :Ethnicity Code,
:Marital Status Code, :Minority Flag, :County, :Postal Code, :Valid From Date, :Hire Date, :Start Date,
:Employee Number, :Birth Date, :Disability Flag, :Military Exp Date, :Minimum Amt, :Midpoint Amt,
:Maximum Amt, :Pay Level Type, :Manager Name, :Intorg Hr1, :Mnmlev1, :Mnmlev2, :Mnmlev3, :Manager Id,
:Job Title Txt, :Job Group Code, :Job Group Desc, :EEO Class Code, :Emp Level, :Exempt Status Code,
:Employee Type Code, :Hours Per Week, :Employee Status Code, :Performance, :Disciplinary Action Flag,
:FLSA Status Code, :Hourly Salary, :Monthly Salary, :Annual Salary, :Annual Salary Z, :Payroll,
:Comratio, :Age, :Over40, :Age Range, :Yrs Of Service, :Length Of Service}
)
);
Por ejemplo, en la imagen de arriba, solo se muestran cinco elementos, mientras que el resto están ocultos debajo de un menú de desplazamiento.
Puedes utilizar << Establecer N Líneas

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Employee Master.jmp");
gb = dt << Graph Builder(
Size(534, 658),
Show Control Panel(0),
Variables(X(:Unique Id), Y(:Employee Id)),
Elements(Points(X, Y, Legend(3)))
);
cw = gb << Column Switcher(
:Employee Id,
{:Employee Id, :Job Code, :Position Code, :Intorg Hr, :Intorg Mgr, :Employee Name,
:Address Line1, :Address Line2, :City, :State, :Citizenship Country, :Gender, :Gender Code,
:Ethnicity Code, :Marital Status Code, :Minority Flag, :County, :Postal Code,
:Valid From Date, :Hire Date, :Start Date, :Employee Number, :Birth Date, :Disability Flag,
:Military Exp Date, :Minimum Amt, :Midpoint Amt, :Maximum Amt, :Pay Level Type,
:Manager Name, :Intorg Hr1, :Mnmlev1, :Mnmlev2, :Mnmlev3, :Manager Id, :Job Title Txt,
:Job Group Code, :Job Group Desc, :EEO Class Code, :Emp Level, :Exempt Status Code,
:Employee Type Code, :Hours Per Week, :Employee Status Code, :Performance,
:Disciplinary Action Flag, :FLSA Status Code, :Hourly Salary, :Monthly Salary,
:Annual Salary, :Annual Salary Z, :Payroll, :Comratio, :Age, :Over40, :Age Range,
:Yrs Of Service, :Length Of Service}
);
cw << Set N Lines(5);