I have problem to skip weekends in highcharts in my angular 2 application. I have seen in highstock there is option ordinal:true to skip weekends but its not working for me. Is there any alternative to skip weekends. This works well from Tuesday on wards.
xAxis: {
type: "datetime",
tickInterval: this.tickinterval,
//ordinal: true,
breaks: [{
from: this.fromdate,
to: this.todate,
repeat: this.repeat
}],
labels: {
formatter: function () {
return highcharts.dateFormat('%H', this.value);
}
},
plotLines: this.plotlines,
max: this.maxdate,
},
<chart [options]="chartOptions" type="chart" class="chartstyle" style="height:50%"> </chart>