6 <title>Waterfall charts
2</title>
8 <link class=
"include" rel=
"stylesheet" type=
"text/css" href=
"../jquery.jqplot.min.css" />
9 <link rel=
"stylesheet" type=
"text/css" href=
"examples.min.css" />
10 <link type=
"text/css" rel=
"stylesheet" href=
"syntaxhighlighter/styles/shCoreDefault.min.css" />
11 <link type=
"text/css" rel=
"stylesheet" href=
"syntaxhighlighter/styles/shThemejqPlot.min.css" />
13 <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
14 <script class="include" type="text/javascript" src="../jquery.min.js"></script>
21 <a class="nav" href="../../../index.php"><span>></span>Home</a>
22 <a class="nav" href="../../../docs/"><span>></span>Docs</a>
23 <a class="nav" href="../../download/"><span>></span>Download</a>
24 <a class="nav" href="../../../info.php"><span>></span>Info</a>
25 <a class="nav" href="../../../donate.php"><span>></span>Donate</a>
28 <div class="example-content">
30 <div class="example-nav">
31 <a href="waterfall.html">Previous</a> <a href="./">Examples</a> <a href="zoom1.html">Next</a></div>
34 <!-- Example scripts go here -->
36 <style type="text/css" media="screen">
45 font-family:Arial,Helvetica,Sans-serif;
50 <div id="chart1" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
52 <div id="chart1b" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
54 <div id="chart1c" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
56 <div id="chart1d" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
61 <script class="code" type="text/javascript">$(document).ready(function(){
62 var line1 = [14, 4, 3, -23, 5, 2, -3, -7];
63 var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
66 plot1 = $.jqplot('chart1', [line1], {
67 title: 'Crop Yield Change, 2008 to 2009',
71 renderer:$.jqplot.BarRenderer,
85 renderer:$.jqplot.CategoryAxisRenderer,
87 tickRenderer: $.jqplot.CanvasAxisTickRenderer,
99 <script class="code" type="text/javascript">$(document).ready(function(){
100 var line1 = [14, 4, 0, -23, 5, 0, -3, -7];
101 var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
104 plot1b = $.jqplot('chart1b', [line1], {
105 title: 'Crop Yield Change, 2008 to 2009',
107 renderer:$.jqplot.BarRenderer,
120 renderer:$.jqplot.CategoryAxisRenderer,
122 tickRenderer: $.jqplot.CanvasAxisTickRenderer,
134 <script class="code" type="text/javascript">$(document).ready(function(){
135 var line1 = [14, 0, 13, 0, -5, -9, 3, 7];
136 var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
139 plot1c = $.jqplot('chart1c', [line1], {
140 title: 'Crop Yield Change, 2008 to 2009',
142 renderer:$.jqplot.BarRenderer,
155 renderer:$.jqplot.CategoryAxisRenderer,
157 tickRenderer: $.jqplot.CanvasAxisTickRenderer,
169 <script class="code" type="text/javascript">$(document).ready(function(){
170 var line1 = [-14, 0, -13, 0, 5, 9, -3, -7];
171 var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
174 plot1d = $.jqplot('chart1d', [line1], {
175 title: 'Crop Yield Change, 2008 to 2009',
177 renderer:$.jqplot.BarRenderer,
190 renderer:$.jqplot.CategoryAxisRenderer,
192 tickRenderer: $.jqplot.CanvasAxisTickRenderer,
204 <!-- End example scripts -->
206 <!-- Don't touch this! -->
209 <script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
210 <script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
211 <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
212 <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
213 <!-- End Don't touch this! -->
215 <!-- Additional plugins go here -->
216 <script class="include" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
217 <script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
218 <script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
219 <script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
220 <script class="include" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
222 <!-- End additional plugins -->
226 <script type="text/javascript" src="example.min.js"></script>