Commit | Line | Data |
---|---|---|
6a1aa64f DV |
1 | {% extends "basex.html" %} |
2 | {% load markup %} | |
3 | {% block pageid %}code{% endblock %} | |
4 | {% block headers %} | |
5 | <link href="doc.css" media="screen" rel="stylesheet" type="text/css" /> | |
6 | {% endblock %} | |
7 | {% block title %}PlotKit.SweetCanvas{% endblock %} | |
8 | ||
9 | {% block content %} | |
10 | <div class="page doc"> | |
11 | {% filter markdown %} | |
12 | [PlotKit Home](PlotKit.html) | [<<](PlotKit.SVG.html) | [>>](PlotKit.SweetSVG.html) | |
13 | ||
14 | PlotKit Sweet Canvas Renderer | |
15 | ============================= | |
16 | ||
17 | This renderer is an extension of the basic Canvas Renderer to show off | |
18 | what you can do to make graphs pretty without learning any graph | |
19 | layout code. | |
20 | ||
21 | There are no extra methods or options to use. The interface is exactly | |
22 | the same as ``PlotKit.Canvas``'s CanvasRenderer. | |
23 | ||
24 | SweetCanvasRenderer adds a fake shadow around bars, lines and circles | |
25 | along with a 2.0 width white outline and a etched light coloured | |
26 | background. | |
27 | ||
28 | Example | |
29 | ======= | |
30 | ||
31 | {% endfilter %} | |
32 | </div> | |
33 | {% endblock %} | |
34 |