World Statistics Day was yesterday, but we’re celebrating all week long! This celebration means acknowledging the impact statistics has on our world. Who is your favorite statistician? Share with us who they are and why they top your favorites list.
Choose Language Hide Translation Bar
Highlighted
twaintwist
Level III

How to overlay line plot on top of side-by-side bar chart?

I'd like to be able to create a chart like this2572_defect-arrival.png   but I don't know how to overlay the line with the side-by-side bars -----     I have the data formatted to plot the line and I have a graph builder script to plot the line....

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
XanGregg
Staff

Re: How to overlay line plot on top of side-by-side bar chart?

Here's a quick example DT.

2598_inoutnet.png

View solution in original post

4 REPLIES 4
Highlighted
XanGregg
Staff

Re: How to overlay line plot on top of side-by-side bar chart?

In Graph Builder use Date as X and use Active, Arrival, and Kill as Y. Then turn on both the Bar element and the Line element. Now you'll have three sets of bars and three lines. Right-click in the graphs and under each element's submenu use the Y menu to turn off the Ys that don't apply to that element.

2595_barline.png

Highlighted
twaintwist
Level III

Re: How to overlay line plot on top of side-by-side bar chart?

xan --- thanks for the help ----    I'm still having trouble producing the graph ----   perhaps my datatable is not setup properly?

Could you provide a very brief table that would produce the chart?

In my table I have a date column, and a column for the number of defects that 'arrived' for  each date     and a column for the number of defects 'killed' for each data....

Highlighted
XanGregg
Staff

Re: How to overlay line plot on top of side-by-side bar chart?

Here's a quick example DT.

2598_inoutnet.png

View solution in original post

Highlighted
twaintwist
Level III

Re: How to overlay line plot on top of side-by-side bar chart?

Xan,

Thanks ----  this made it clear ---- I was dragging In/out/Net to the right Y-axis and couldn't get it to work ---- but dragging to the left Y-axis worked....

Article Labels

    There are no labels assigned to this post.