X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fplotters.html;fp=tests%2Fplotters.html;h=91c3a7c72d362e9e6c7625e035d79917603faccf;hb=38e3d209effd6f9a3e49d993719808006d9d2ada;hp=0000000000000000000000000000000000000000;hpb=85e975f9e164acfd6bdbb9a4b20d6a40f2d2a850;p=dygraphs.git diff --git a/tests/plotters.html b/tests/plotters.html new file mode 100644 index 0000000..91c3a7c --- /dev/null +++ b/tests/plotters.html @@ -0,0 +1,326 @@ + + + + + Plotters demo + + + + + + + +

This page demonstrates how to build custom plotters with dygraphs. + The plotter option + allows you to write your own drawing logic. This can be used to achieve + powerful customization. View source to see how the examples work.

+ +

Bar Chart

+

Here a specialized plotter is used to draw + a bar plot rather than a line plot:

+
+ +

Candle Chart

+

Here a specialized plotter is used to + combined four series into a unified "Candle" plot:

+
+ +

Bar & Line Chart

+

The plotter + option may be set on a per-series basis to create mixed charts:

+
+ +

Multi-column Bar Chart

+
+ +

Mixed Error Bars and Lines

+

You can tweak the standard plotters list to achieve effects which would + be difficult otherwise, e.g. drawing series with only confidence intervals + and showing error bars only for some series.

+
+ + + +