Hi,
How to set minimum and maximum date range in Line Chart categoryAxis?
Please see min and max in sample code:
},
categoryAxis: {
min: new Date("6/7/17"),
max: new Date("7/7/17"),
//type: "date",
baseUnit: "days",
majorGridLines: {
visible: true
},
labels: {
rotation: 40,
padding: { right: 10 },
dateFormats: {
days: "M/d/yy"
},
step: step
}
}
});
I set it to static, but even if i set it thru var dynamically, same error happens. Please see attached file.