MatijaSh
MatijaSh

Reputation: 492

Highstock - why is min/maxPadding on xAxis ignored

Why are min/maxPadding ignored? I would like to have padding from both sides on xAxis, that is of type 'datetime'

Check this example out: http://jsfiddle.net/matijash/zs3Ag/

$(function() {
$('#container').highcharts('StockChart', {

    chart: {
    },

    xAxis: {
        minPadding: 0.5,
        maxPadding: 0.5
    },

    rangeSelector: {
        selected: 1
    },

    series: [{
        name: 'USD to EUR',
        data: usdeur
    }]
});
});

Upvotes: 1

Views: 708

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

In the Highstock paddings are not supported,onyl in highcharts.

Upvotes: 1

Related Questions