| 1 |
<!doctype> |
| 2 |
<link rel="stylesheet" href="../css/style.css"> |
| 3 |
<style> |
| 4 |
body { |
| 5 |
font-family: Arial, Helvetica, sans-serif; |
| 6 |
font-size: 13px; |
| 7 |
color: #282828; |
| 8 |
line-height: 135%; |
| 9 |
margin: 0; |
| 10 |
} |
| 11 |
.content { |
| 12 |
width: 780px; |
| 13 |
margin: auto; |
| 14 |
display: block; |
| 15 |
} |
| 16 |
section img { |
| 17 |
width: 25%; |
| 18 |
display: inline-block; |
| 19 |
vertical-align: top; |
| 20 |
margin: 0 3% 0 0; |
| 21 |
border: none; |
| 22 |
} |
| 23 |
div { |
| 24 |
width: 70%; |
| 25 |
display: inline-block; |
| 26 |
vertical-align: top; |
| 27 |
} |
| 28 |
a { |
| 29 |
text-decoration: none; |
| 30 |
color: steelblue; |
| 31 |
} |
| 32 |
a:hover { |
| 33 |
color: lightblue; |
| 34 |
} |
| 35 |
h1 { |
| 36 |
margin: 1em 0 1em 0; |
| 37 |
font-weight: normal; |
| 38 |
} |
| 39 |
h2 { |
| 40 |
font-weight: normal; |
| 41 |
margin: 0 0 0.7em 0; |
| 42 |
color: black; |
| 43 |
float: left; |
| 44 |
} |
| 45 |
section { |
| 46 |
border-top: 1px solid #e0e0e0; |
| 47 |
padding: 1.8em 0; |
| 48 |
display: block; |
| 49 |
} |
| 50 |
span { |
| 51 |
clear: both; |
| 52 |
display: block; |
| 53 |
} |
| 54 |
.clear { |
| 55 |
clear: both; |
| 56 |
} |
| 57 |
#start { |
| 58 |
height: 70px; |
| 59 |
} |
| 60 |
hr { |
| 61 |
margin-bottom: 40px; |
| 62 |
border: none; |
| 63 |
border-bottom: 1px solid #e0e0e0; |
| 64 |
} |
| 65 |
img { |
| 66 |
border: none; |
| 67 |
} |
| 68 |
</style> |
| 69 |
|
| 70 |
<script src="../js/header.js"></script> |
| 71 |
|
| 72 |
<div class="content"> |
| 73 |
|
| 74 |
<h1>Rickshaw Examples</h1> |
| 75 |
|
| 76 |
<section> |
| 77 |
<a href="start.html"><img src="screenshots/start.png" id="start"></a> |
| 78 |
<div> |
| 79 |
<h2><a href="start.html">Getting Started</a></h2> |
| 80 |
<span> |
| 81 |
Bare minimum to get a graph on the page with a couple of points. |
| 82 |
</span> |
| 83 |
</div> |
| 84 |
</section> |
| 85 |
|
| 86 |
<section> |
| 87 |
<a href="lines.html"><img src="screenshots/lines.png"></a> |
| 88 |
<div> |
| 89 |
<h2><a href="lines.html">Lines & Toggling</a></h2> |
| 90 |
<span> |
| 91 |
Basic lines with a legend and x-axis ticks and labels. Toggle lines on and off by clicking checkmarks. |
| 92 |
</span> |
| 93 |
</div> |
| 94 |
</section> |
| 95 |
|
| 96 |
<section> |
| 97 |
<a href="extensions.html"><img src="screenshots/extensions.png"></a> |
| 98 |
<div> |
| 99 |
<h2><a href="extensions.html">Interactive Real-Time Data</a></h2> |
| 100 |
<span> |
| 101 |
Dig into continuously updating data. Change line interpolations, zoom in on the x-axis, apply smoothing, stack and un-stack, drag and drop to re-order the stack, toggle data on and off. |
| 102 |
</span> |
| 103 |
</div> |
| 104 |
</section> |
| 105 |
|
| 106 |
<section> |
| 107 |
<a href="scatterplot.html"><img src="screenshots/scatterplot.png"></a> |
| 108 |
<div> |
| 109 |
<h2><a href="scatterplot.html">Scatter Plot with Multiple Series</a></h2> |
| 110 |
<span> |
| 111 |
Basic scatter plot with two overlapping series. |
| 112 |
</span> |
| 113 |
</div> |
| 114 |
</section> |
| 115 |
|
| 116 |
<section> |
| 117 |
<a href="status.html"><img src="screenshots/status.png"></a> |
| 118 |
<div> |
| 119 |
<h2><a href="status.html">Stacked Bars with Deterministic Colors</a></h2> |
| 120 |
<span> |
| 121 |
Requests per second by HTTP status as stacked bars. Colors come from a deterministic palette that can carry across graphs. |
| 122 |
</span> |
| 123 |
</div> |
| 124 |
</section> |
| 125 |
|
| 126 |
<section> |
| 127 |
<a href="colors.html"><img src="screenshots/colors.png"></a> |
| 128 |
<div> |
| 129 |
<h2><a href="colors.html">Color Schemes</a></h2> |
| 130 |
<span> |
| 131 |
A number of color schemes are built in. You can specify your own too. |
| 132 |
</span> |
| 133 |
</div> |
| 134 |
</section> |
| 135 |
|
| 136 |
<section> |
| 137 |
<a href="stops.html"><img src="screenshots/stops.png"></a> |
| 138 |
<div> |
| 139 |
<h2><a href="stops.html">Interpolated Colors</a></h2> |
| 140 |
<span> |
| 141 |
Interpolate color schemes for graphs with many series. |
| 142 |
</span> |
| 143 |
</div> |
| 144 |
</section> |
| 145 |
|
| 146 |
<section> |
| 147 |
<a href="ajax.html"><img src="screenshots/ajax.png"></a> |
| 148 |
<div> |
| 149 |
<h2><a href="ajax.html">Data via AJAX / JSONP</a></h2> |
| 150 |
<span> |
| 151 |
Ask Rickshaw to fetch data via AJAX, rather than specifying in the constructor. There's a JSONP impelementation too. |
| 152 |
</span> |
| 153 |
</div> |
| 154 |
</section> |
| 155 |
|
| 156 |
<section> |
| 157 |
<a href="y_axis.html"><img src="screenshots/y_axis.png"></a> |
| 158 |
<div> |
| 159 |
<h2><a href="y_axis.html">Y-Axis Tick Marks and Grid Lines</a></h2> |
| 160 |
<span> |
| 161 |
Draw y-axis tick marks and grid lines with abbreviated numbers. |
| 162 |
</span> |
| 163 |
</div> |
| 164 |
</section> |
| 165 |
|
| 166 |
<section> |
| 167 |
<a href="x_axis.html"><img src="screenshots/x_axis.png"></a> |
| 168 |
<div> |
| 169 |
<h2><a href="x_axis.html">Custom Values on the X-Axis</a></h2> |
| 170 |
<span> |
| 171 |
Add custom values and custom formatting along the x-axis. |
| 172 |
</span> |
| 173 |
</div> |
| 174 |
</section> |
| 175 |
|
| 176 |
<section> |
| 177 |
<a href="fixed.html"><img src="screenshots/fixed.png"></a> |
| 178 |
<div> |
| 179 |
<h2><a href="fixed.html">Fixed Window Series for Streaming Data</a></h2> |
| 180 |
<span> |
| 181 |
Fixed-size time window, useful for real-time graphs with socket.io. |
| 182 |
</span> |
| 183 |
</div> |
| 184 |
</section> |
| 185 |
|
| 186 |
<section> |
| 187 |
<a href="formatter.html"><img src="screenshots/formatter.png"></a> |
| 188 |
<div> |
| 189 |
<h2><a href="formatter.html">Hover Details Custom Formatting</a></h2> |
| 190 |
<span> |
| 191 |
Send a custom formatter callback for finer control in hover details. |
| 192 |
</span> |
| 193 |
</div> |
| 194 |
</section> |
| 195 |
|
| 196 |
<section> |
| 197 |
<a href="hover.html"><img src="screenshots/hover.png"></a> |
| 198 |
<div> |
| 199 |
<h2><a href="hover.html">Subclassed Hover Behavior + Bottom Legend</a></h2> |
| 200 |
<span> |
| 201 |
Subclass hovers to provide an alternate legend at the bottom of the graph. |
| 202 |
</span> |
| 203 |
</div> |
| 204 |
</section> |
| 205 |
|
| 206 |
<section> |
| 207 |
<a href="scaled.html"><img src="screenshots/scaled.png"></a> |
| 208 |
<div> |
| 209 |
<h2><a href="scaled.html">Scaled Series</a></h2> |
| 210 |
<span> |
| 211 |
Two series normalized with different scales, with two different scaled Y-axis. |
| 212 |
</span> |
| 213 |
</div> |
| 214 |
</section> |
| 215 |
|
| 216 |
<section> |
| 217 |
<a href="logscale.html"><img src="screenshots/logscale.png"></a> |
| 218 |
<div> |
| 219 |
<h2><a href="logscale.html">Log and Absolute Scale</a></h2> |
| 220 |
<span> |
| 221 |
One series drawn using log and absolute scale on one graph. |
| 222 |
</span> |
| 223 |
</div> |
| 224 |
</section> |
| 225 |
|
| 226 |
<section> |
| 227 |
<a href="multi.html"><img src="screenshots/multi.png"></a> |
| 228 |
<div> |
| 229 |
<h2><a href="multi.html">Multiple Renderers</a></h2> |
| 230 |
<span> |
| 231 |
Bars, lines, area, and scatterplot graphs all in one setting. |
| 232 |
</span> |
| 233 |
</div> |
| 234 |
</section> |
| 235 |
|
| 236 |
<hr> |
| 237 |
<br> |
| 238 |
</div> |
| 239 |
|
| 240 |
<script src="../js/footer.js"></script> |
| 241 |
|