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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

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