| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 | 
							- <!DOCTYPE HTML>
 
- <html>
 
- 	<head>
 
- 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
- 		<meta name="viewport" content="width=device-width, initial-scale=1">
 
- 		<title>Highcharts Example</title>
 
- 		<style type="text/css">
 
- #container {
 
-     max-width: 800px;
 
-     height: 400px;
 
-     margin: 1em auto;
 
- }
 
- .highcharts-series-hover path {
 
-   stroke: rgb(255, 66, 66);
 
-   stroke-width: 2px;
 
- }
 
- 		</style>
 
- 	</head>
 
- 	<body>
 
- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
 
- <script src="../../code/highcharts.js"></script>
 
- <script src="../../code/modules/parallel-coordinates.js"></script>
 
- <div id="container"></div>
 
- 		<script type="text/javascript">
 
- $.getJSON(
 
-     'https://cdn.rawgit.com/highcharts/highcharts/057b672172ccc6c08fe7dbb27fc17ebca3f5b770/samples/data/marathon.json',
 
-     function (data) {
 
-         Highcharts.chart('container', {
 
-             chart: {
 
-                 type: 'spline',
 
-                 parallelCoordinates: true,
 
-                 parallelAxes: {
 
-                     lineWidth: 2
 
-                 }
 
-             },
 
-             title: {
 
-                 text: 'Marathon set'
 
-             },
 
-             plotOptions: {
 
-                 series: {
 
-                     animation: false,
 
-                     marker: {
 
-                         enabled: false,
 
-                         states: {
 
-                             hover: {
 
-                                 enabled: false
 
-                             }
 
-                         }
 
-                     },
 
-                     states: {
 
-                         hover: {
 
-                             halo: {
 
-                                 size: 0
 
-                             }
 
-                         }
 
-                     },
 
-                     events: {
 
-                         mouseOver: function () {
 
-                             this.group.toFront();
 
-                         }
 
-                     }
 
-                 }
 
-             },
 
-             tooltip: {
 
-                 pointFormat: '<span style="color:{point.color}">\u25CF</span>' +
 
-                     '{series.name}: <b>{point.formattedValue}</b><br/>'
 
-             },
 
-             xAxis: {
 
-                 categories: [
 
-                     'Training date',
 
-                     'Miles for training run',
 
-                     'Training time',
 
-                     'Shoe brand',
 
-                     'Running pace per mile',
 
-                     'Short or long',
 
-                     'After 2004'
 
-                 ],
 
-                 offset: 10
 
-             },
 
-             yAxis: [{
 
-                 type: 'datetime',
 
-                 tooltipValueFormat: '{value:%Y-%m-%d}'
 
-             }, {
 
-                 min: 0,
 
-                 tooltipValueFormat: '{value} mile(s)'
 
-             }, {
 
-                 type: 'datetime',
 
-                 min: 0,
 
-                 labels: {
 
-                     format: '{value:%H:%M}'
 
-                 }
 
-             }, {
 
-                 categories: [
 
-                     'Other',
 
-                     'Adidas',
 
-                     'Mizuno',
 
-                     'Asics',
 
-                     'Brooks',
 
-                     'New Balance',
 
-                     'Izumi'
 
-                 ]
 
-             }, {
 
-                 type: 'datetime'
 
-             }, {
 
-                 categories: ['> 5miles', '< 5miles']
 
-             }, {
 
-                 categories: ['Before', 'After']
 
-             }],
 
-             colors: ['rgba(11, 200, 200, 0.1)'],
 
-             series: data.map(function (set, i) {
 
-                 return {
 
-                     name: 'Runner ' + i,
 
-                     data: set,
 
-                     shadow: false
 
-                 };
 
-             })
 
-         });
 
-     }
 
- );
 
- 		</script>
 
- 	</body>
 
- </html>
 
 
  |