javascript - How to set a category axis title dynamically? -
i need set kendo ui stock chart category axis , value axis titles dynamically using options or setoptions.
can 1 provide me working example?
you can dynamically change titles this:
var stockchart = $("#stock-chart").data("kendostockchart"); stockchart.options.valueaxis[0].title.text = "your new value axis title here"; stockchart.options.categoryaxis[0].title.text = "your new column axis title here"; stockchart.refresh();
Comments
Post a Comment