There are also a number of extensions:
TYPE
element.
TYPE
element can take regular expression
arguments as well as exact matches, e.g.:
<TYPE id="repeat" label="L1.+">
<GLYPH>
<BOX>
<HEIGHT>10</HEIGHT>
<BGCOLOR>red</BGCOLOR>
</BOX>
</GLYPH>
</TYPE>
<TYPE id="repeat">
<GLYPH>
<BOX>
<HEIGHT>10</HEIGHT>
<BGCOLOR>orange</BGCOLOR>
</BOX>
</GLYPH>
</TYPE>
<TYPE id="foo" orientation="+">
<GLYPH>
<BOX>
<BGCOLOR>red</BGCOLOR>
</BOX>
</GLYPH>
</TYPE>
<TYPE id="foo" orientation="-">
<GLYPH>
<BOX>
<BGCOLOR>blue</BGCOLOR>
</BOX>
</GLYPH>
</TYPE>
POINTS
glyph type can be used to draw scatter plots. It will probably be
deprecated in Dalliance 0.10 in favour of the more general SCATTER
attribute, and
may be removed in the future.
SCATTER
attribute.
SIZE
.
The value should be between 0 and 1, and controls glyph size as a fraction of the total height of the track.
MIN
, MAX
and HEIGHT
attributes
are interpreted as for line-plots and histograms.
<TYPE id='default'>
<GLYPH>
<STAR>
<SCATTER>yes</SCATTER>
<POINTS>8</POINTS>
<SIZE>6</SIZE>
<FGCOLOR>blue</FGCOLOR>
<MIN>0</MIN>
<MAX>100</MAX>
<HEIGHT>50</HEIGHT>
</STAR>
</GLYPH>
</TYPE>
BOX
but the width is independent of the size of the underlying feature.
Usable in scatter plots.
POINTS
attribute (default is 5). Usable
in scatter plots.
TYPE
ID in an XML stylesheet. Required, but may be set to default
low
, medium
, or high
.
glyph
, which is the glyph type
to use. It may have other properties (e.g. BGCOLOR
, BUMP
, etc.) which are interpretted
the same as in an XML stylesheet.
[
{type: 'default',
style: {
glyph: 'PLIMSOLL',
HEIGHT: '12',
STROKECOLOR: 'black',
FGCOLOR: 'red'}},
{type: 'nasty',
style: {
glyph: 'CROSS',
FGCOLOR: 'green'}}
]