Timeline view - create section array dynamically

Examples show static array for
section (
( key:value etx)

Also, in createTimelineView, y-unit is also show as static array in examples

In the timeline.lines example I have tried to create the same array as in the example dynamically using json objects. The json object array shows the section titles ok, but nothing shows in the timeline when I load the example data (which works if I revert to static array).

Would appreciate advice as to how to do this

please check this reply