How to update timeline view dynamically


#1

Hi,

I need to update my timeline view’s y-axis dynamically. Basically, I have a filter, which should filter out some entries from the y-axis based on values selected for filter.

Currently, it filters out the scheduler data shown in the main area but the y-axis scale can’t be updated once created.

Can anybody please help in achieving this ?


#2

You can filter the options collection in any way, and after that apply new list, like

scheduler.matrix["timeline"].y_unit = filtered_options;
scheduler.callEvent("onOptionsLoad",[]);

#3

Works until now :wink: