ScaleColumn
A specialized column showing a graduated scale from a defined array of values and labels. This column is used in the TimelineHistogram and is not editable. Normally you should not need to interact with this class directly.
Configs
81
Configs
81Common
The name of the data model field to read scale point values from.
Other
Array of objects representing scale points. If not provided the column will try
reading points from the displayed record field (scalePoints field by default).
new TimelineHistogram({
columns : {
type : 'scale',
scalePoints : [
{ text : '8h', value : 8 },
{ text : '16h', value : 16 },
{ text : '24h', value : 24 }
]
}
})
Integration
Interaction
Menu
Misc
Rendering
Properties
151
Properties
151Common
The name of the data model field to read scale point values from.
Class hierarchy
Other
Array of objects representing scale points. If not provided the column will try
reading points from the displayed record field (scalePoints field by default).
new TimelineHistogram({
columns : {
type : 'scale',
scalePoints : [
{ text : '8h', value : 8 },
{ text : '16h', value : 16 },
{ text : '24h', value : 24 }
]
}
})
Editing
Integration
Interaction
JSON
Menu
Misc
Parent & children
Rendering
Functions
77
Functions
77Configuration
Editing
Events
Identification
Misc
Other
Parent & children
Events
5
Events
5Event handlers
5
Event handlers
5Typedefs
3
Typedefs
3An object representing a point on the scale displayed by ScaleColumn.
| Parameter | Type | Description |
|---|---|---|
value | Number | Scale point value |
text | String | Scale point label (if not provided the point won't display a label) |
unit | String | Scale point value unit. This is used by the resource histogram and
resource utilization views to match histogram bar values expressed in milliseconds to the scale.
Please note The views read a scale unit to use from the last scale point of the provided |