How can align the points inside their respective boxes in Box plot (when an overlay is applied)How can align the points inside their respective boxes in Box plot (when an overlay is applied)

i have a data where group x is one column lets say A , and on overlay there is another column lets say B .
Is there any option that the points can be aligned in their respective boxes?
Below is my code -
createBoxPlot = Function({dt, cols},
Show("Using Columns for Box Plot:", cols);
// Create Dashboard with Box Plots
New Window("Analysis Dashboard",
Tab Box(
"Box Plots",
V List Box(
Text Box("Box Plot by A, B"),
For(i = 1, i <= N Items(cols), i++,
gb = Graph Builder(
Size(800, 500),
Show Control Panel(0),
Variables(X(:C), Y(As Column(cols[i])), Group X(:A), Overlay(:B)),
Elements(Box Plot(X, Y, Legend(4)), Points(X, Y, Legend(5)))
)
)
)
)
);
);Automation and ScriptingBasic Data Analysis and ModelingData Exploration and VisualizationRe: How can align the points inside their respective boxes in Box plot (when an overlay is applied)Try using Align placement for your box plots (right click on graph)

Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)I tried that but it overlaps the two overlay variable boxes like below -

I was wondering if i can have them side by side as in the description of this issue ,along with the points inside their respective boxes.
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)How do I use Graph builderto overlay Points & Boxplots
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)I tried this as well but it forms like this -

Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)As I don't have your data I'm going with a bit of guessing based on your script. I won't have X Group in my graph, it might matter or not
We start from this

Then we move our overlay to X-Axis (you can hide the labels if needed)

And finally we add that same column to color

So we are not utilizing Overlay in this case which can be an issue with your data or with what you are trying to plot
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)Why for you in the X axis you can see both age as well as sex values for me it is kind of different .

What am i doing wrong , I wonder
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)Could one of your columns be continuous? They need to be categorical (nominal/ordinal) for this type of plotting
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)Oh yes ,You caught it right. Let me try it now.
Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)It worked . Thankyou so much