编辑 | blame | 历史 | 原始文档

Parameters

Param Type Default Description
name string Name of the element
value string Key used to look up the data, either URLs for your time-series if valueType=url, otherwise expects JSON
[valueType] url | json url Format of time series data provided. If set to "url" then Label Studio loads value references inside value key, otherwise it expects JSON.
[sync] string Object name to sync with.
[cursorColor] string Color of the playback cursors used in sync (hex or any SVG-compatible color string)
[timeColumn] string Column name or index that provides temporal values. If your time series data has no temporal column then one is automatically generated.
[timeFormat] string Pattern used to parse values inside timeColumn, parsing is provided by d3, and follows strftime implementation
[timeDisplayFormat] string Format used to display temporal value. Can be a number or a date. If a temporal column is a date, use strftime to format it. If it's a number, use d3 number formatting.
[durationDisplayFormat] string Format used to display temporal duration value for brush range. If the temporal column is a date, use strftime to format it. If it's a number, use d3 number formatting.
[sep] string "," Separator for your CSV file.
[overviewChannels] string Comma-separated list of channel names or indexes displayed in overview.
[overviewWidth] string "25%" Default width of overview window in percents
[fixedScale] boolean false Whether to scale y-axis to the maximum to fit all the values. If false, current view scales to fit only the displayed values.