Text style

canvasSetting-1canvasSetting-1

switch: Whether to display text of leaf node.

font-size: Svg text attribute.

fill: Svg text attribute.

font-weight: Svg text attribute.

font-style: Svg text attribute.

word-italic: This attribute can change the specified word to italic by the given string specifier. The general form of a specifier is the index (starts from 0) of the word separated by comma:

// One word:
0
// Two words:
0,1
1,2
// Three words:
0,1,2

...
String specifier Text style
Phaeobacter gallaeciensis LMIT007
0 Phaeobacter gallaeciensis LMIT007
1 Phaeobacter gallaeciensis LMIT007
0,1 Phaeobacter gallaeciensis LMIT007
0,2 Phaeobacter gallaeciensis LMIT007
0,1,2 Phaeobacter gallaeciensis LMIT007

Tip
There is drawback that it will uniformly change the italic style of the text acording to the word index in string specifier. Sometimes we need to change the italic style individually for their various word indexes. For instance, leaf names Phaeobacter gallaeciensis LMIT007, Pleurosigma sp. SK005 and Lactobacillus delbrueckii subsp. sunkii JCM 17838 coexist in the tree, and we need 0,1, 0 and 0,1,3 as string specifier respectively. Thus, you can leave this attribute a blank valve and add a layer dataset called word italic to realize this requirement.

x: Move the text element by x .

y: Move the text element by y.

Leaves Extension

canvasSetting-1

extension: Whether to align the text of each leaf node.

canvasSetting-1

stroke: Svg line attribute.

stroke-width: Svg line attribute.

stroke-dasharray: Svg line attribute.

stroke-opacity: Svg line attribute.

Circle size

Note
Attributes in this block are only available in circular layout tree.

canvasSetting-1

startAngle:

endAngle:

  • 180 and 90 degrees (with the start angle is 0)

canvasSetting-1canvasSetting-1

results matching ""

    No results matching ""