how do I refresh y-axis


how do I refresh y-axis



You can update the y_axis of the timeline view, with the updateCollection method:

Example of usage:

var sections2=[
  {key:1, label:"Apt 1234253"},
  {key:333, label:"Apt 1234523452"},
  {key:44, label:"Apt 23145234"},
  {key:455, label:"Apt 423423452345"}
  y_unit:	scheduler.serverList("y_sections", sections),

function toggleSec(){
  scheduler.updateCollection("y_sections",sections2 )

Here is a demo:


Thanks @Siarhei, it help me to solve the issue :slight_smile: :+1: