From c3b418798492fde3b37a711848fffabdfedb0aeb Mon Sep 17 00:00:00 2001 From: jbogartPint Date: Tue, 21 Jun 2016 13:26:29 -0700 Subject: [PATCH] Updated Readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aa9287a..3432df1 100644 --- a/README.md +++ b/README.md @@ -666,7 +666,10 @@ This syntax is a close-derivative of ZingChart's JSON syntax except that it uses --- ### trapdoor ( ) `Level 3` -This is a single function that accepts a full-blown JSON string. This function allows you to set the entire chart's configuration with a single function call. This JSON string can be generated using standard PHP associative array syntax as well.
+This is a single function that accepts a full-blown JSON string. This function allows you to set the entire chart's configuration with a single function call. This JSON string can be generated using standard PHP associative array syntax as well. + +### Note: Using the trapdoor will overwrite any previously set chart configurations for that object. +For example, if you set $zc->setLegendTitle("Cool Title") and later use zc->trapdoor("series":[{"values": [1,2,3]}, {"values":[22,23,27]}) then the legend title will be destroyed. **Examples:**