Highcharts Demo

author(s): Torstein Hønsi

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="width: 950px; height: 400px; margin: 0 auto"></div>

JavaScript

Highcharts.theme = {
   colors: ['#f08616','#13ab70','#999999','#fecc00'],
   chart: {
      backgroundColor: null,
      style: {
         fontFamily: '"PT Sans", sans-serif'
      }
   },
   title: {
      style: {
         fontSize: '16px',
         fontWeight: 'bold',
         textTransform: 'uppercase'
      }
   },
   tooltip: {
      borderWidth: 0,
      backgroundColor: 'rgba(219,219,216,0.8)',
      shadow: false
   },
   legend: {
      itemStyle: {
         fontWeight: 'bold',
         fontSize: '13px'
      }
   },
   xAxis: {
      gridLineWidth: 1,
      labels: {
         style: {
            fontSize: '12px'
         }
      }
   },
   yAxis: {
      minorTickInterval: 'auto',
      title: {
         style: {
            textTransform: ''
         }
      },
      labels: {
         style: {
            fontSize: '12px'
         }
      }
   },
   plotOptions: {
      candlestick: {
         lineColor: '#404048'
      }
   },


   // General
   background2: '#F0F0EA'

};

// Apply the theme
Highcharts.setOptions(Highcharts.theme);
Highcharts.chart('container', {
    chart: {
        type: 'column'
    },
    title: {
        text: ''
    },
    subtitle: {
        text: ''
    },
    xAxis: {
        categories: [
            'Январь 2017',
            'Февраль 2017',
            'Март 2017',
            'Апрель 2017',
            'Май 2017',
            'Июнь 2017',
            'Июль 2017',
            'Август 2017',
            'Сентябрь 2017',
            'Октябрь 2017',
            'Ноябрь 2017',
            'Декабрь 2017'
        ],
        crosshair: true
    },
    yAxis: {
        min: 0,
        title: {
            text: 'миллионов рублей'
        }
    },
    tooltip: {
        headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
        pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
            '<td style="padding:0"><b>{point.y:.2f} млн ⃍</b></td></tr>',
        footerFormat:...