Ivan
Ivan

Reputation: 104039

Highcharts: Flush chart against the sides

Is this "artifact" fixable?

enter image description here

Here's a Fiddle: http://jsfiddle.net/xL5wF/

$('#container').highcharts({
    chart: {
        type: 'area'
    },
    series: [{
        name: 'A',
        data: [10358, 10295, 10104 ]
    }, {
        name: 'B',
        data: [18000, 17000, 16000]
    }]
});

I've tried playing with min and pointPlacement to no avail.

Upvotes: 0

Views: 117

Answers (1)

Paweł Fus
Paweł Fus

Reputation: 45079

Use minPadding and maxPadding, see: http://jsfiddle.net/xL5wF/1/

Upvotes: 2

Related Questions