SHARE
TWEET

Untitled

a guest Aug 25th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     chart: {
  3.         type: 'column'
  4.     },
  5.     renderTo: "container",
  6.     title: {
  7.         text: 'Monthly Average Rainfall'
  8.     },
  9.     subtitle: {
  10.         text: 'Source: WorldClimate.com'
  11.     },
  12.     xAxis: {
  13.         categories: [
  14.             'Jan',
  15.             'Feb',
  16.             'Mar',
  17.             'Apr',
  18.             'May',
  19.             'Jun',
  20.             'Jul',
  21.             'Aug',
  22.             'Sep',
  23.             'Oct',
  24.             'Nov',
  25.             'Dec'
  26.         ],
  27.         crosshair: true
  28.     },
  29.     yAxis: {
  30.         min: 0,
  31.         title: {
  32.             text: 'Rainfall (mm)'
  33.         }
  34.     },
  35.     tooltip: {
  36.         headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
  37.         pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  38.             '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
  39.         footerFormat: '</table>',
  40.         shared: true,
  41.         useHTML: true
  42.     },
  43.     plotOptions: {
  44.         column: {
  45.             pointPadding: 0.2,
  46.             borderWidth: 0
  47.         }
  48.     },
  49.     series: [{
  50.         name: 'Tokyo',
  51.         data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
  52.  
  53.     }, {
  54.         name: 'New York',
  55.         data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3]
  56.  
  57.     }, {
  58.         name: 'London',
  59.         data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
  60.  
  61.     }, {
  62.         name: 'Berlin',
  63.         data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1]
  64.  
  65.     }]
  66. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top