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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -