如何使用Highchart在双轴图表上获取x轴标记?

时间:2013-04-16 21:02:03

标签: javascript highcharts

如何使用双轴将标志放在Highchart上?

我尝试了很多东西,但我无法让它渲染......

标志:http://www.highcharts.com/stock/demo/flags-placement

双轴:http://www.highcharts.com/demo/combo-dual-axes

1 个答案:

答案 0 :(得分:2)

是的,http://jsfiddle.net/MGzjk/

是可能的
 {
            type: 'flags',
            name: 'Flags on axis',
            data: [{
                x: Date.UTC(2011, 2, 1),
                title: 'On axis'
            }, {
                x: Date.UTC(2011, 3, 1),
                title: 'On axis'
            }],
            shape: 'squarepin'
        }