Thanks, it work! I see however that if I have several series every serie get the same labels (“budsjett”) on all the series even if I have just added it one of the series. Any ide how to solve this?
{label: ‘Utgangspunkt bidrag’, yAxisID: ‘y1’,data:[" & varUtgStr &“] ,budsjett: [” & varQGAvgRate & “],fill: true, backgroundColor:‘rgba(211, 214, 220, 0.2)’,borderColor:‘rgba(53, 92, 174,1)’},
{label: ‘Rapporter bidrag’, yAxisID: ‘y1’,data:[”& varQGlabels0 &“], fill: false, borderDash: [5, 5], borderColor:‘rgba(53, 92, 174, 1)’},
{label: ‘Utgangspunkt budsjett’, yAxisID: ‘y2’,data:[” & varUtgStrBudsjett &“] ,fill: false, borderColor:‘rgb(255, 99, 132, 1)’},
{label: ‘Rapportert budsjett’, yAxisID: ‘y2’,data:[” & varQGBudsjett &"] , fill: false, borderColor: ‘rgb(255, 99, 132, 1)’, borderDash: [5, 5]}