Do not have all columns of data mapping, only 188-202 columns of data mapping
Thank jthi !
dt = Current Data Table();
q=188;p=202;na="Row 3 Columns "||char(q)||"-"||char(p)||" Bar Chart";
row_data = dt[3, 188::202];
n_points = N Col(row_data);
x_values = Index(1, n_points);
y_max_data = Max(row_data);
y_max_scale = y_max_data * 1.1;
if(y_max_scale == 0, y_max_scale = 10);
New Window(na ,
g = Graph Box(
Frame Size( 400, 200 ),
X Scale( 0.5, 12.5 ),
Y Scale( 0, y_max_scale ),
Pen Size( 1 ),
Fill Color( "Light Purple" ),
For( i = 1, i <= n_points, i++,
Rect(
x_values[i] - 0.4, row_data[i],
x_values[i] + 0.4, 0
)
)
)
);
frame = g[FrameBox(1)];
frame << Grid Line Order( 1 );
frame << Add Graphics Script(
Text( Center Justified, {6, y_max_scale * 0.95}, na )
);