Skip to content
Snippets Groups Projects
Commit 1f49baf5 authored by Nathan Haug's avatar Nathan Haug
Browse files

Issue #2107961: Provide example of #stacking property.

parent bf9039a7
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment