layout

defines a layout direction for timeline

string layout;

Example

webix.ui({
    view:"timeline",
    layout: "x", // horizontal mode is set initially
    data:time_data
});


Default value:

"y"

Related samples

Details

By default Timeline has the vertical layout (layout: "y"). You can switch it to the horizontal layout setting the layout property to "x".

See also
  • Articles
  • Back to top