# Unstacked area chart
(total_quantity_by_month_and_fruit)
| 327 | |
| 328 | @_print_source |
| 329 | def _area_example_2(total_quantity_by_month_and_fruit): |
| 330 | """# Unstacked area chart""" |
| 331 | ch = chartify.Chart(blank_labels=True, x_axis_type="datetime") |
| 332 | ch.set_title("Unstacked area") |
| 333 | ch.set_subtitle("Show overlapping values. Automatically adjusts opacity.") |
| 334 | ch.plot.area( |
| 335 | data_frame=total_quantity_by_month_and_fruit, |
| 336 | x_column="month", |
| 337 | y_column="quantity", |
| 338 | color_column="fruit", |
| 339 | stacked=False, |
| 340 | ) |
| 341 | ch.show(_OUTPUT_FORMAT) |
| 342 | |
| 343 | |
| 344 | @_print_source |
no test coverage detected