Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Mazzucchi <m.mazzucchi@frontdam.com>2021-05-08 19:30:24 +0300
committerMichele Mazzucchi <m.mazzucchi@frontdam.com>2021-05-08 19:30:24 +0300
commitc9e4845fb5d6d43be668adc9c5895eceeedd08aa (patch)
tree2707d6572a1c64e1e6d303f6ce2292e2f48e4de2
parent01bf18f52518199ee7d7909a9442667a5acb9510 (diff)
add echarts tip of interactive editor
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
index 54de11a..489bb24 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
@@ -869,6 +869,13 @@ The rendered output looks like this:
}
{{< /echarts >}}
+Pro tip: build your graphs faster by picking an example from the [echarts gallery](https://echarts.apache.org/examples/en/index.html), and use the interactive editor to quickly adapt it to your desired graph.
+When you're done, you can copy the resulting graph specification and paste it over into the uBlogger shortcode. Just make sure you correct the JSON syntax by:
+
+1. Removing the `option =` prefix to the graph specification.
+1. Removing the `;` suffix to the graph specification.
+1. Enclosing all symbols in quotes in the graph specification (e.g. `xAxis:` &rarr; `"xAxis":`).
+
The `echarts` shortcode has also the following named parameters:
* **width** *[optional]* (**first** positional parameter)