I have created a chart in graph builder using jsl script below.
Data Table("Untitled 11967")<<Graph Builder(
Automatic Recalc( 0 ),
Variables( X( :var1 ), Y( :var2 ), Group X(:var3), Group Y(:var4)));
Here var3 is numeric continuous and var4 is numeric nominal. var4 just counts the number of times var3 value is occurring.
How can I change the number of levels for Group X variable in JSL? Also how can I set the binning for each level? Image below shows 3 levels which I set manually by right clicking on var3 and setting No of Level value to 3. But I want 3 levels 0-10, 10-15, 15-40 to group the counts in var4. How can I script it in JSL?
Any guidance will be highly appreciated.
Thanks