XY: Bar and Line Overlay

Bars with a line overlay and both axis titles.

xy-bar-and-line-overlay.mmd
xychart-beta
    title "Monthly Revenue"
    x-axis "Month" [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
    y-axis "Revenue (USD)" 0 --> 10000
    bar [4200, 5000, 5800, 6200, 5500, 7000, 7800, 7200, 8400, 8100, 9000, 9200]
    line [4200, 5000, 5800, 6200, 5500, 7000, 7800, 7200, 8400, 8100, 9000, 9200]
Output
XY chart, Zombie Mermaid Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Month Revenue (USD) Monthly Revenue Bar 1 Line 1

More XY chart examples