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

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -