Axis Flags text position

by kzoon

HTML

<script src="http://code.highcharts.com/stock/highstock.js"></script>
<div id="container" style="height: 400px"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'line'
        },
        xAxis: [{
            id: "1",
            categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
        },
        /* {
            id: "2",
            categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
        }*/
        ],
        plotOptions: {
            series: {
                allowPointSelect: true
            }
        },
        series: [{
            //xAxis:"1",
            data: [78.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 87.4]
        }, {
            type: 'flags',
            showInLegend: false,
            //xAxis:"2",
            data: [{
                x: 2,
                title: "x",
                text: 'Start of campaign'
            }, {
                x: 8,
                title: "o",
                text: 'End of Campaing'
            }],

            width: 14,
           height: 12,
            //color: 'red',
            //lineWidth:0,
            lineColor: 'green',
            shape: 'flag',
            style: {
               
                fontSize: '12px',
                fontWeight: 'normal',
                textAlign: 'center'
          
            }
        }]
    });



});