Constructor
new annotation_track()
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
layout.color |
String | Array.<module:LocusZoom_DataLayers~ScalableParameter> |
<optional> |
Specify how to choose the fill color for each tick mark |
|
layout.hitarea_width |
number |
<optional> |
8 | The width (in pixels) of hitareas. Annotation marks are typically 1 px wide, so a hit area of 4px on each side can make it much easier to select an item for a tooltip. Hitareas will not interfere with selecting adjacent points. |
layout.tooltip_positioning |
'horizontal' | 'vertical' | 'top' | 'bottom' | 'left' | 'right' |
<optional> |
'vertical' | Where to draw the tooltip relative to the datum. |
- Source:
- See:
-
- module:LocusZoom_DataLayers~BaseDataLayer for additional layout options