This is a plugin for CanvasJS StockCharts that lets you add HTML5 datepicker to inputfields of StockChart just by adding a line of code.
- Create and Render CanvasJS StockChart
- Call ChangeInputFieldsType method
var stockChart = new CanvasJS.StockChart("stockChartContainer", {
.
.
.
//StockChart Options
.
.
.
});
stockChart.render();
stockChart.ChangeInputFieldsType();
/* or
CanvasJS.ChangeInputFieldsType(); //If you like to change type of inputfields across all the StockCharts in the page
*/
- Plugin was last tested with CanvasJS StockChart v1.4.4GA
- This plugin requires you to have CanvasJS License. Please visit CanvasJS for more info.