如何在HighCharts中创建这样的图表?

时间:2011-11-23 13:10:33

标签: highcharts

Graph I need to creat

如何使用HighCharts创建这样的图表?

1 个答案:

答案 0 :(得分:1)

var chart = new Highcharts.Chart({
    chart: {
        renderTo: 'container'
    },
    xAxis: {
        categories: ['Value', 'Blend', 'Growth'],
        title: {text: 'Valuation', enabled: true},
        min: 0, // run this 0,1,2 to match our categories
        max: 2,
        gridLineWidth: 1
    },
    yAxis: {
        categories: ['Small', 'Medium', 'Large'],
        startOnTick: false,
        endOnTick: false,
        title: {text: 'Market Cap', enabled: true},
        min: 0,
        max: 2
    },
    series: [{
        name: 'US Dow etc',
        data: [[1,2]],
        type: 'scatter'  
    }]
});

产地:

enter image description here