At the last two days i want to indicate that i am missing some data, and i'd want it to show a straight dashed line on the same graph. can i change the dashStyle only for parts of the graph?

No it is not possible, you need two series, first line and second with dashed style.
You can apply 'zones' to a series: http://api.highcharts.com/highcharts/plotOptions.series.zones Just use the dashStyle option like in this example http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series/color-zones-dashstyle-dot/
zones: [{
value: 8
}, {
dashStyle: 'dot'
}]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With