Skip to main content

<Channel>

Category: Object tag

Channel tag can be used to label time series data

Attributes​

AttributeTypeRequiredDefaultDescription
columnstringyes—column name or index
legendstringno—display name of the channel
unitsstringno—display units name
displayFormatstringno—format string for the values, uses d3-format:
`[,][.precision][f\
heightnumberno200height of the plot
strokeColorstringno#f48a42plot stroke color, expects hex value
strokeWidthnumberno1plot stroke width
markerColorstringno#f48a42plot stroke color, expects hex value
markerSizenumberno0plot stroke width
markerSymbolnumbernocircleplot stroke width
timeRangestringno—data range of x-axis / time axis
dataRangestringno—data range of y-axis / data axis
showAxisstringno—show or bide both axis
fixedScaletrue,falseno—if false current view scales to fit only displayed values; if given overwrites TimeSeries' fixedScale