score:115

Accepted answer

options can be set separately for each series.

var chart = new highcharts.chart({
    chart: {
        renderto: 'container'
    },
    xaxis: {
        type: 'datetime'
    },

    series: [{
        name: 'john',
        color: '#0066ff',
        dashstyle: 'shortdash',
        data: [
            [date.utc(2010, 0, 1), 29.9],
            [date.utc(2010, 2, 1), 71.5],
            [date.utc(2010, 3, 1), 106.4]
        ]
    },{
        name: 'mary',
        color: '#ff0000',
        data: [
            [date.utc(2010, 0, 1), 60.9],
            [date.utc(2010, 1, 1), 40.5],
            [date.utc(2010, 2, 1), 90.0],
            [date.utc(2010, 3, 1), 80.4]
        ]
    }]
});

jsfiddle example

score:11

if you read the api here, you'll see the following text.

serie

the actual series to append to the chart. in addition to the members listed below, any member of the plotoptions for that specific type of plot can be added to a series individually. for example, even though a general linewidth is specified in plotoptions.series, an individual linewidth can be specified for each series.

so you can add anything from plotoptions.

demo:

series: [{
    name: 'serie1',
    data: [0,1,2,3,4,5,6,7,8,9],
    color: '#ffff00',
    linewidth: 4,
    id: 'serie1',
    step: true
}]

working demo


Related Query

More Query from same tag