Basic

by vasagi

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="height:400px"></div>

JavaScript

var chart = new Highcharts.Chart({
    chart: {
        renderTo:'container',
    },
    title:{
        text:'Chart Title'
    },
    credits:{enabled:false},
    legend:{
    },
    plotOptions: {
        series: {
            shadow:false,
            borderWidth:0,
        }
    },
    xAxis:{
        lineColor:'#999',
        lineWidth:1,
        tickColor:'#666',
        tickLength:3,
        title:{
            text:'X Axis Title'
        }
    },
    yAxis:{
        lineColor:'#999',
        lineWidth:1,
        tickColor:'#666',
        tickWidth:1,
        tickLength:3,
        gridLineColor:'#ddd',
        title:{
            text:'Y Axis Title',
            rotation:0,
            margin:50,
        },
        labels:{
        width:30,
            formatter:function(){
                return 'heuwbshjnf nksdjknjrvd B';
            }
        }
    },    
    series: [{
        data: [7000000000,12000000000,16000000000,32000000000,64000000000]
    }]
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
});