Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
<!DOCTYPE html>
2
 
3
<html>
4
<head>
5
 
6
    <title>Pie Charts and Options</title>
7
 
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" />
12
 
13
    <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
14
    <script class="include" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
15
 
16
 
17
</head>
18
<body>
19
    <div id="header">
20
        <div class="nav">
21
            <a class="nav" href="../../../index.php"><span>&gt;</span>Home</a>
22
            <a class="nav"  href="../../../docs/"><span>&gt;</span>Docs</a>
23
            <a class="nav"  href="../../download/"><span>&gt;</span>Download</a>
24
            <a class="nav" href="../../../info.php"><span>&gt;</span>Info</a>
25
            <a class="nav"  href="../../../donate.php"><span>&gt;</span>Donate</a>
26
        </div>
27
    </div>
28
    <div class="colmask leftmenu">
29
      <div class="colleft">
30
        <div class="col1" id="example-content">
31
 
32
 
33
<!-- Example scripts go here -->
34
 
35
 
36
    <div id="pie1" style="margin-top:20px; margin-left:20px; width:200px; height:200px;"></div>
37
 
38
    <div id="pie2" style="margin-top:20px; margin-left:20px; width:200px; height:200px;"></div>
39
 
40
    <div id="pie3" style="margin-top:20px; margin-left:20px; width:200px; height:200px;"></div>
41
 
42
    <div id="pie4" style="margin-top:20px; margin-left:20px; width:200px; height:200px;"></div>
43
 
44
    <div id="pie5" style="margin-top:20px; margin-left:20px; width:400px; height:240px;"></div>
45
 
46
    <div id="pie6" style="margin-top:20px; margin-left:20px; width:400px; height:240px;"></div>
47
 
48
    <div id="pie7" style="margin-top:20px; margin-left:20px; width:400px; height:240px;"></div>
49
 
50
    <div id="pie8" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
51
 
52
 
53
 
54
<script class="code" type="text/javascript">$(document).ready(function(){
55
    var plot1 = $.jqplot('pie1', [[['a',25],['b',14],['c',7]]], {
56
        gridPadding: {top:0, bottom:38, left:0, right:0},
57
        seriesDefaults:{
58
            renderer:$.jqplot.PieRenderer,
59
            trendline:{ show:false },
60
            rendererOptions: { padding: 8, showDataLabels: true }
61
        },
62
        legend:{
63
            show:true,
64
            placement: 'outside',
65
            rendererOptions: {
66
                numberRows: 1
67
            },
68
            location:'s',
69
            marginTop: '15px'
70
        }
71
    });
72
});</script>
73
 
74
<script class="code" type="text/javascript">$(document).ready(function(){
75
    var plot2 = $.jqplot('pie2', [[['a',25],['b',14],['c',7]]], {
76
        seriesDefaults:{ renderer:$.jqplot.PieRenderer, trendline:{ show: true } },
77
        legend:{ show: true }
78
    });
79
});</script>
80
 
81
<script class="code" type="text/javascript">$(document).ready(function(){
82
    var plot3 = $.jqplot('pie3', [[['a',1],['b',9],['c',1]]], {
83
        seriesDefaults:{
84
            shadow: false,
85
            renderer:$.jqplot.PieRenderer,
86
            rendererOptions:{
87
                sliceMargin: 4,
88
                // rotate the starting position of the pie around to 12 o'clock.
89
                startAngle: -90
90
            }
91
        },
92
        legend:{ show: true }
93
    });
94
});</script>
95
 
96
<script class="code" type="text/javascript">$(document).ready(function(){
97
    var plot4 = $.jqplot('pie4', [[["a",0],["b",1],["c",.01]]], {
98
        seriesDefaults:{
99
            renderer:$.jqplot.PieRenderer,
100
            rendererOptions:{ sliceMargin: 0 }
101
        },
102
        legend:{ show: true }
103
    });
104
});</script>
105
 
106
<script class="code" type="text/javascript">$(document).ready(function(){
107
    var plot5 = $.jqplot('pie5', [[["none",23],["error",0],["click",5],["impression",25]]], {
108
        seriesDefaults:{ renderer: $.jqplot.PieRenderer },
109
        legend:{ show:true }
110
    });
111
});</script>
112
 
113
<script class="code" type="text/javascript">$(document).ready(function(){
114
    var plot6 = $.jqplot('pie6', [[["none",0],["error",0],["click",0],["impression",0]]], {
115
        seriesDefaults:{ renderer: $.jqplot.PieRenderer },
116
        legend:{ show:true }
117
    });
118
});</script>
119
 
120
<script class="code" type="text/javascript">$(document).ready(function(){
121
    var plot7 = $.jqplot('pie7', [[["all", 10]]], {
122
        seriesDefaults:{
123
            renderer:$.jqplot.PieRenderer,
124
            rendererOptions: {
125
                showDataLabels: true
126
            }
127
        },
128
        legend:{show:true}
129
    });
130
});</script>
131
 
132
<script class="code" type="text/javascript">$(document).ready(function(){
133
    var s1 = [['Sony',7], ['Samsumg',13.3], ['LG',14.7], ['Vizio',5.2], ['Insignia', 1.2]];
134
 
135
    var plot8 = $.jqplot('pie8', [s1], {
136
        grid: {
137
            drawBorder: false,
138
            drawGridlines: false,
139
            background: '#ffffff',
140
            shadow:false
141
        },
142
        axesDefaults: {
143
 
144
        },
145
        seriesDefaults:{
146
            renderer:$.jqplot.PieRenderer,
147
            rendererOptions: {
148
                showDataLabels: true
149
            }
150
        },
151
        legend: {
152
            show: true,
153
            rendererOptions: {
154
                numberRows: 1
155
            },
156
            location: 's'
157
        }
158
    });
159
});</script>
160
 
161
 
162
<!-- End example scripts -->
163
 
164
<!-- Don't touch this! -->
165
 
166
 
167
    <script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
168
    <script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
169
    <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
170
    <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
171
<!-- End Don't touch this! -->
172
 
173
<!-- Additional plugins go here -->
174
 
175
  <script class="include" type="text/javascript" src="../plugins/jqplot.pieRenderer.min.js"></script>
176
 
177
<!-- End additional plugins -->
178
 
179
        </div>
180
         <div class="col2">
181
 
182
           <div class="example-link"><a class="example-link" href="data-renderers.html">AJAX and JSON Data Loading via Data Renderers</a></div>
183
           <div class="example-link"><a class="example-link" href="barLineAnimated.html">Animated Charts</a></div>
184
           <div class="example-link"><a class="example-link" href="dashboardWidget.html">Animated Dashboard Sample - Filled Line with Log Axis</a></div>
185
           <div class="example-link"><a class="example-link" href="kcp_area.html">Area Chart</a></div>
186
           <div class="example-link"><a class="example-link" href="kcp_area2.html">Area Chart 2</a></div>
187
           <div class="example-link"><a class="example-link" href="axisLabelTests.html">Axis Labels</a></div>
188
           <div class="example-link"><a class="example-link" href="axisLabelsRotatedText.html">Axis Labels and Rotated Text</a></div>
189
           <div class="example-link"><a class="example-link" href="barTest.html">Bar Charts</a></div>
190
           <div class="example-link"><a class="example-link" href="multipleBarColors.html">Bar Colors Example</a></div>
191
           <div class="example-link"><a class="example-link" href="bezierCurve.html">Bezier Curve Plots</a></div>
192
           <div class="example-link"><a class="example-link" href="blockPlot.html">Block Plots</a></div>
193
           <div class="example-link"><a class="example-link" href="bubbleChart.html">Bubble Charts</a></div>
194
           <div class="example-link"><a class="example-link" href="bubble-plots.html">Bubble Plots</a></div>
195
           <div class="example-link"><a class="example-link" href="candlestick.html">Candlestick and Open Hi Low Close Charts</a></div>
196
           <div class="example-link"><a class="example-link" href="theming.html">Chart Theming</a></div>
197
           <div class="example-link"><a class="example-link" href="fillBetweenLines.html">Charts with Fill Between Lines</a></div>
198
           <div class="example-link"><a class="example-link" href="kcp_cdf.html">Cumulative Density Function Chart</a></div>
199
           <div class="example-link"><a class="example-link" href="dashedLines.html">Dashed Lines with Smoothing</a></div>
200
           <div class="example-link"><a class="example-link" href="cursor-highlighter.html">Data Point Highlighting, Tooltips and Cursor Tracking</a></div>
201
           <div class="example-link"><a class="example-link" href="point-labels.html">Data Point labels</a></div>
202
           <div class="example-link"><a class="example-link" href="date-axes.html">Date Axes</a></div>
203
           <div class="example-link"><a class="example-link" href="dateAxisRenderer.html">Date Axes 2</a></div>
204
           <div class="example-link"><a class="example-link" href="rotatedTickLabelsZoom.html">Date Axes, Rotated Labels and Zooming</a></div>
205
           <div class="example-link"><a class="example-link" href="canvas-overlay.html">Draw Lines on Plots - Canvas Overlay</a></div>
206
           <div class="example-link"><a class="example-link" href="draw-rectangles.html">Draw Rectangles on Plots</a></div>
207
           <div class="example-link"><a class="example-link" href="kcp_engel.html">Engel Curves</a></div>
208
           <div class="example-link"><a class="example-link" href="bandedLine.html">Error Bands and Confidence Intervals</a></div>
209
           <div class="example-link"><a class="example-link" href="area.html">Filled (Area) Charts</a></div>
210
           <div class="example-link"><a class="example-link" href="axisScalingForceTickAt.html">Force Plot to Have Tick at 0 or 100</a></div>
211
           <div class="example-link"><a class="example-link" href="hiddenPlotsInTabs.html">Hidden Plots</a></div>
212
           <div class="example-link"><a class="example-link" href="customHighlighterCursorTrendline.html">Highlighting, Dragging Points, Cursor and Trend Lines</a></div>
213
           <div class="example-link"><a class="example-link" href="line-charts.html">Line Charts and Options</a></div>
214
           <div class="example-link"><a class="example-link" href="kcp_lorenz.html">Lorenz Curves</a></div>
215
           <div class="example-link"><a class="example-link" href="mekkoCharts.html">Mekko Charts</a></div>
216
           <div class="example-link"><a class="example-link" href="meterGauge.html">Meter Gauge</a></div>
217
           <div class="example-link"><a class="example-link" href="candlestick-charts.html">Open Hi Low Close and Candlestick Charts</a></div>
218
           <div class="example-link"><a class="example-link" href="pieTest.html">Pie Charts and Options</a></div>
219
           <div class="example-link"><a class="example-link" href="pieTest4.html">Pie Charts and Options 2</a></div>
220
           <div class="example-link"><a class="example-link" href="pie-donut-charts.html">Pie and Donut Charts</a></div>
221
           <div class="example-link"><a class="example-link" href="selectorSyntax.html">Plot Creation with jQuery Selectors</a></div>
222
           <div class="example-link"><a class="example-link" href="zooming.html">Plot Zooming and Cursor Control</a></div>
223
           <div class="example-link"><a class="example-link" href="kcp_pdf.html">Probability Density Function Chart</a></div>
224
           <div class="example-link"><a class="example-link" href="kcp_pyramid_by_age.html">Pyramid Chart By Age</a></div>
225
           <div class="example-link"><a class="example-link" href="kcp_pyramid.html">Pyramid Charts</a></div>
226
           <div class="example-link"><a class="example-link" href="kcp_pyramid2.html">Pyramid Charts 2</a></div>
227
           <div class="example-link"><a class="example-link" href="kcp_quintiles.html">Quintile Pyramid Charts</a></div>
228
           <div class="example-link"><a class="example-link" href="resizablePlot.html">Resizable Plots</a></div>
229
           <div class="example-link"><a class="example-link" href="rotated-tick-labels.html">Rotated Labels and Font Styling</a></div>
230
           <div class="example-link"><a class="example-link" href="smoothedLine.html">Smoothed Lines</a></div>
231
           <div class="example-link"><a class="example-link" href="bar-charts.html">Vertical and Horizontal Bar Charts</a></div>
232
           <div class="example-link"><a class="example-link" href="waterfall.html">Waterfall Charts</a></div>
233
           <div class="example-link"><a class="example-link" href="waterfall2.html">Waterfall Charts 2</a></div>
234
           <div class="example-link"><a class="example-link" href="zoomOptions.html">Zoom Options</a></div>
235
           <div class="example-link"><a class="example-link" href="zoomProxy.html">Zoom Proxy - Control one plot from another</a></div>
236
           <div class="example-link"><a class="example-link" href="zoom1.html">Zooming</a></div>
237
           <div class="example-link"><a class="example-link" href="dateAxisLogAxisZooming.html">Zooming with Date and Log Axes</a></div>
238
 
239
         </div>
240
               </div>
241
    </div>
242
    <script type="text/javascript" src="example.min.js"></script>
243
 
244
</body>
245
 
246
 
247
</html>