| <!doctype html>
|
| <html lang="en">
|
| <head>
|
| <meta charset="UTF-8">
|
| <meta content="IE=edge" http-equiv="X-UA-Compatible">
|
| <meta content="width=device-width, initial-scale=1" name="viewport">
|
| <title>anychart.box</title>
|
| <link href="https://playground.anychart.com/api/modules/_samples/anychart.box/iframe" rel="canonical">
|
| <meta content="Box Chart,Box and Whisker Plot,Statistical Data" name="keywords">
|
| <meta content="AnyChart - JavaScript Charts designed to be embedded and integrated" name="description">
|
| |
| |
| |
|
|
| <link href="_deps/cdn.anychart.com/releases/8.14.1/css/anychart-ui.min.css" rel="stylesheet" type="text/css">
|
| <style>html, body, #container {
|
| width: 100%;
|
| height: 100%;
|
| margin: 0;
|
| padding: 0;
|
| }</style>
|
| </head>
|
| <body>
|
| <div id="container"></div>
|
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-base.min.js"></script>
|
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-exports.min.js"></script>
|
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-ui.min.js"></script>
|
| <script type="text/javascript">anychart.onDocumentReady(function () {
|
|
|
| var chart = anychart.box([
|
| {x: 'Jan', low: 760, q1: 801, median: 848, q3: 895, high: 965, outliers: [650]},
|
| {x: 'Feb', low: 733, q1: 853, median: 939, q3: 980, high: 1080},
|
| {x: 'Mar', low: 714, q1: 762, median: 817, q3: 870, high: 918},
|
| {x: 'Apr', low: 724, q1: 802, median: 806, q3: 871, high: 950},
|
| {x: 'May', low: 834, q1: 836, median: 864, q3: 882, high: 910, outliers: [710, 970, 980]}
|
| ]);
|
|
|
| chart.title('Create a Box chart');
|
| chart.container('container');
|
| chart.draw();
|
| });</script>
|
| </body>
|
| </html> |