Highcharts test tool

by ninachroscicka

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>

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

CSS

body {
  font-family: Verdana,sans-serif;
}

JavaScript

$(function () {

    window.chart = new Highcharts.Chart({
                
        chart: {
            renderTo: 'container',
            polar: true,
            type: 'area',
            style:{
            fontFamily:'Verdana'
            }
        },

        colors: ['#d8797d'],
        
        title: {
            text: 'Budget vs spending',
            x: -80
        },
        
        pane: {
            size: '90%'
        },
        
        xAxis: {
            categories: ['Raz', 'Dwa', 'Trzy', 'Cztery', 
                    'Pięć', 'Sześć'],
                     labels: {
            style: {
                color: '#a9a9a9',
                fontSize:'12px',
                fontWeight: 'bold'
                }},

            tickmarkPlacement: 'on',
            lineWidth: 0,
            gridLineColor: '#EFF0F1'
        },
            
        yAxis: {
            gridLineInterpolation: 'polygon',
            lineWidth: 0,
            min: 0,
            gridLineColor: '#EFF0F1'
        },
        
        tooltip: {
            shared: true,
            valuePrefix: '$'
    
        },
        
        legend: {
            align: 'right',
            verticalAlign: 'top',
            y: 100,
            layout: 'vertical'
        },
        
        series: [{
            name: 'Allocated Budget',
            data: [43000, 19000, 60000, 35000, 17000, 10000],
            pointPlacement: 'on',
            fillColor: '#f4a7aa',
            fillOpacity: 0.05
        }]
    
    });
});