| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 | 
							- <!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">
 
- 		</style>
 
- 	</head>
 
- 	<body>
 
- <script src="../../code/highcharts.js"></script>
 
- <script src="../../code/modules/series-label.js"></script>
 
- <script src="../../code/modules/exporting.js"></script>
 
- <script src="../../code/modules/export-data.js"></script>
 
- <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
 
- 		<script type="text/javascript">
 
- // Data retrieved from http://vikjavev.no/ver/index.php?spenn=2d&sluttid=16.06.2015.
 
- Highcharts.chart('container', {
 
-     chart: {
 
-         type: 'spline',
 
-         scrollablePlotArea: {
 
-             minWidth: 600,
 
-             scrollPositionX: 1
 
-         }
 
-     },
 
-     title: {
 
-         text: 'Wind speed during two days'
 
-     },
 
-     subtitle: {
 
-         text: '13th & 14th of February, 2018 at two locations in Vik i Sogn, Norway'
 
-     },
 
-     xAxis: {
 
-         type: 'datetime',
 
-         labels: {
 
-             overflow: 'justify'
 
-         }
 
-     },
 
-     yAxis: {
 
-         title: {
 
-             text: 'Wind speed (m/s)'
 
-         },
 
-         minorGridLineWidth: 0,
 
-         gridLineWidth: 0,
 
-         alternateGridColor: null,
 
-         plotBands: [{ // Light air
 
-             from: 0.3,
 
-             to: 1.5,
 
-             color: 'rgba(68, 170, 213, 0.1)',
 
-             label: {
 
-                 text: 'Light air',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // Light breeze
 
-             from: 1.5,
 
-             to: 3.3,
 
-             color: 'rgba(0, 0, 0, 0)',
 
-             label: {
 
-                 text: 'Light breeze',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // Gentle breeze
 
-             from: 3.3,
 
-             to: 5.5,
 
-             color: 'rgba(68, 170, 213, 0.1)',
 
-             label: {
 
-                 text: 'Gentle breeze',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // Moderate breeze
 
-             from: 5.5,
 
-             to: 8,
 
-             color: 'rgba(0, 0, 0, 0)',
 
-             label: {
 
-                 text: 'Moderate breeze',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // Fresh breeze
 
-             from: 8,
 
-             to: 11,
 
-             color: 'rgba(68, 170, 213, 0.1)',
 
-             label: {
 
-                 text: 'Fresh breeze',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // Strong breeze
 
-             from: 11,
 
-             to: 14,
 
-             color: 'rgba(0, 0, 0, 0)',
 
-             label: {
 
-                 text: 'Strong breeze',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }, { // High wind
 
-             from: 14,
 
-             to: 15,
 
-             color: 'rgba(68, 170, 213, 0.1)',
 
-             label: {
 
-                 text: 'High wind',
 
-                 style: {
 
-                     color: '#606060'
 
-                 }
 
-             }
 
-         }]
 
-     },
 
-     tooltip: {
 
-         valueSuffix: ' m/s'
 
-     },
 
-     plotOptions: {
 
-         spline: {
 
-             lineWidth: 4,
 
-             states: {
 
-                 hover: {
 
-                     lineWidth: 5
 
-                 }
 
-             },
 
-             marker: {
 
-                 enabled: false
 
-             },
 
-             pointInterval: 3600000, // one hour
 
-             pointStart: Date.UTC(2018, 1, 13, 0, 0, 0)
 
-         }
 
-     },
 
-     series: [{
 
-         name: 'Hestavollane',
 
-         data: [
 
-             3.7, 3.3, 3.9, 5.1, 3.5, 3.8, 4.0, 5.0, 6.1, 3.7, 3.3, 6.4,
 
-             6.9, 6.0, 6.8, 4.4, 4.0, 3.8, 5.0, 4.9, 9.2, 9.6, 9.5, 6.3,
 
-             9.5, 10.8, 14.0, 11.5, 10.0, 10.2, 10.3, 9.4, 8.9, 10.6, 10.5, 11.1,
 
-             10.4, 10.7, 11.3, 10.2, 9.6, 10.2, 11.1, 10.8, 13.0, 12.5, 12.5, 11.3,
 
-             10.1
 
-         ]
 
-     }, {
 
-         name: 'Vik',
 
-         data: [
 
-             0.2, 0.1, 0.1, 0.1, 0.3, 0.2, 0.3, 0.1, 0.7, 0.3, 0.2, 0.2,
 
-             0.3, 0.1, 0.3, 0.4, 0.3, 0.2, 0.3, 0.2, 0.4, 0.0, 0.9, 0.3,
 
-             0.7, 1.1, 1.8, 1.2, 1.4, 1.2, 0.9, 0.8, 0.9, 0.2, 0.4, 1.2,
 
-             0.3, 2.3, 1.0, 0.7, 1.0, 0.8, 2.0, 1.2, 1.4, 3.7, 2.1, 2.0,
 
-             1.5
 
-         ]
 
-     }],
 
-     navigation: {
 
-         menuItemStyle: {
 
-             fontSize: '10px'
 
-         }
 
-     }
 
- });
 
- 		</script>
 
- 	</body>
 
- </html>
 
 
  |