Search code examples
javascripthighchartsdata-visualizationarea

How to set an fillArea offset in HighCharts


I try to set an reference value for a area-plot in higcharts. this should be similar to this example but with 100 as baseline. Because its hard to describe i attach a picture. I'm really lost on this topic, thanks for any help/hint in advance.

image to describe the problem


Solution

  • threshold was what im looking for. add it to the series, see jsfiddle

    series: [{
        name: 'John',
        data: [105, 103, 104, 107, 102],
        threshold : 100
    } ....