From 22b09d2197bc36f3273710e7e3dc8e9a78a5d073 Mon Sep 17 00:00:00 2001 From: Ludo Stellingwerff Date: Thu, 26 Nov 2015 11:25:48 +0100 Subject: [PATCH] Add shading example. --- docs/graph2d/index.html | 3 +- examples/graph2d/20_shading.html | 91 ++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 examples/graph2d/20_shading.html diff --git a/docs/graph2d/index.html b/docs/graph2d/index.html index edf01416..b1675ff0 100644 --- a/docs/graph2d/index.html +++ b/docs/graph2d/index.html @@ -759,7 +759,8 @@ onRender: function(item, group, graph2d) { shaded.orientation String 'zero' - This determines if the shaded area is at the bottom or at the top of the curve, or always towards the zero-axis of the graph. The options are 'zero', 'bottom' or 'top'. + This determines if the shaded area is at the bottom or at the top of the curve, or always towards the zero-axis of the graph. The options are 'zero', 'bottom' or 'top'. + See Example 20 what these options look like. shaded.style diff --git a/examples/graph2d/20_shading.html b/examples/graph2d/20_shading.html new file mode 100644 index 00000000..62d09239 --- /dev/null +++ b/examples/graph2d/20_shading.html @@ -0,0 +1,91 @@ + + + + Graph2d | Shading Example + + + + + + + + +

Graph2d | Shading Example

+
+ This example shows the shading functionality within Graph2d. +
+
+ +
+ + + +