Subscribe Bookmark RSS Feed

How to pass a string variable as column name in a Oneway chart?

Hi Guys,

I am trying to pass a variable name to a Y axis column name for a Oneway chart as follows:

2 REPLIES
Anybody?
mpb

Super User

Joined:

Jun 23, 2011

Changing the last line to:

Oneway( Y( col ), X( :Lot Number ), Box Plots( 1 ) );

should work.

Note: When using the explicit Concat Items syntax, JSL inserts a separating character, a space by default. If you change the concat to: comb = concat Items({a,b}, "") a space will not be inserted. If instead you replace that line by the simpler: comb = concat(a,b) or comb = a || b; then no space will be inserted either.