From 1f49baf54df6ebde3f4f37c9324196e7967be52a Mon Sep 17 00:00:00 2001 From: Nathan Haug <nate@lullabot.com> Date: Mon, 17 Mar 2014 12:25:16 -0700 Subject: [PATCH] Issue #2107961: Provide example of #stacking property. --- includes/charts.examples.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/includes/charts.examples.inc b/includes/charts.examples.inc index b46a1a9..bcdf68e 100644 --- a/includes/charts.examples.inc +++ b/includes/charts.examples.inc @@ -146,6 +146,14 @@ function _charts_examples_column_simple() { return $example; } +function _charts_examples_column_stacking() { + $example = _charts_examples_column_simple(); + $example['chart']['#title'] = t('Column stacked'); + $example['chart']['#stacking'] = TRUE; + + return $example; +} + function _charts_examples_bar_simple() { $example = _charts_examples_column_simple(); $example['chart']['#title'] = t('Bar simple'); -- GitLab