2011-11-23 30 views

回答

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

+0

我想類似這樣的東西。但我錯過了startOnTick:false,endOnTick:false我想。謝謝! –

相關問題