| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 | 
							- <!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="https://code.jquery.com/jquery-3.1.1.min.js"></script>
 
- <script src="../../code/highcharts.js"></script>
 
- <script src="../../code/modules/data.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>
 
- <!-- Additional files for the Highslide popup effect -->
 
- <script src="https://www.highcharts.com/media/com_demo/js/highslide-full.min.js"></script>
 
- <script src="https://www.highcharts.com/media/com_demo/js/highslide.config.js" charset="utf-8"></script>
 
- <link rel="stylesheet" type="text/css" href="https://www.highcharts.com/media/com_demo/css/highslide.css" />
 
- <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
 
- 		<script type="text/javascript">
 
- Highcharts.chart('container', {
 
-     chart: {
 
-         scrollablePlotArea: {
 
-             minWidth: 700
 
-         }
 
-     },
 
-     data: {
 
-         csvURL: 'https://cdn.rawgit.com/highcharts/highcharts/' +
 
-             '057b672172ccc6c08fe7dbb27fc17ebca3f5b770/samples/data/analytics.csv',
 
-         beforeParse: function (csv) {
 
-             return csv.replace(/\n\n/g, '\n');
 
-         }
 
-     },
 
-     title: {
 
-         text: 'Daily sessions at www.highcharts.com'
 
-     },
 
-     subtitle: {
 
-         text: 'Source: Google Analytics'
 
-     },
 
-     xAxis: {
 
-         tickInterval: 7 * 24 * 3600 * 1000, // one week
 
-         tickWidth: 0,
 
-         gridLineWidth: 1,
 
-         labels: {
 
-             align: 'left',
 
-             x: 3,
 
-             y: -3
 
-         }
 
-     },
 
-     yAxis: [{ // left y axis
 
-         title: {
 
-             text: null
 
-         },
 
-         labels: {
 
-             align: 'left',
 
-             x: 3,
 
-             y: 16,
 
-             format: '{value:.,0f}'
 
-         },
 
-         showFirstLabel: false
 
-     }, { // right y axis
 
-         linkedTo: 0,
 
-         gridLineWidth: 0,
 
-         opposite: true,
 
-         title: {
 
-             text: null
 
-         },
 
-         labels: {
 
-             align: 'right',
 
-             x: -3,
 
-             y: 16,
 
-             format: '{value:.,0f}'
 
-         },
 
-         showFirstLabel: false
 
-     }],
 
-     legend: {
 
-         align: 'left',
 
-         verticalAlign: 'top',
 
-         borderWidth: 0
 
-     },
 
-     tooltip: {
 
-         shared: true,
 
-         crosshairs: true
 
-     },
 
-     plotOptions: {
 
-         series: {
 
-             cursor: 'pointer',
 
-             point: {
 
-                 events: {
 
-                     click: function (e) {
 
-                         hs.htmlExpand(null, {
 
-                             pageOrigin: {
 
-                                 x: e.pageX || e.clientX,
 
-                                 y: e.pageY || e.clientY
 
-                             },
 
-                             headingText: this.series.name,
 
-                             maincontentText: Highcharts.dateFormat('%A, %b %e, %Y', this.x) + ':<br/> ' +
 
-                                 this.y + ' sessions',
 
-                             width: 200
 
-                         });
 
-                     }
 
-                 }
 
-             },
 
-             marker: {
 
-                 lineWidth: 1
 
-             }
 
-         }
 
-     },
 
-     series: [{
 
-         name: 'All sessions',
 
-         lineWidth: 4,
 
-         marker: {
 
-             radius: 4
 
-         }
 
-     }, {
 
-         name: 'New users'
 
-     }]
 
- });
 
- 		</script>
 
- 	</body>
 
- </html>
 
 
  |