I understand that I can reorder by using the value ordering dropdown menu under column properties ( as indicated in other posts and videos). However this is needlessly time consuming for 50- 100 values that are already IN the correct order in the data set. So I am just interested in keeping the data in the order in which it currently is.
Thanks so much for your help!
Jennifer
If the data are in the order you want to use for the order of the graph, then just specify the Column Property "Row Order Levels" and it will use the order the data are found in the data table as the order to use in the graphic and other platforms
If the data are in the order you want to use for the order of the graph, then just specify the Column Property "Row Order Levels" and it will use the order the data are found in the data table as the order to use in the graphic and other platforms
Jim,
That worked and is exactly what I was looking for. Thank you SO much for your help!
Jennifer
I want to set the column properties for Value Order like below in the GUI, but I want to do it in JSL.
I figured out the syntax...
id_values = dts:Tamb_Est << get values;
dts:Tamb_Est << setProperty("Value Ordering", id_values);
Great job. I would like to add one fine point.
Your syntax does generate Value Order in the order of the values found in the current data table, it does not set Row Level Order. The fine point is that if you would sort the data, and then perform an analysis or create a chart, the order of the values for your Tamb_Est would remain the same order as before the sort. If you had set Row Order Levels, the data would be displayed in the new sorted order.
names default to here(1);
dt=current data table();
order = dt:weight << get property("value order")
{Row Order Levels( 1 )}
dt:weight << set property( "Value Order", {Row Order Levels( 1 )};