Skip to content

Commit a5b9aa8

Browse files
committed
update plot-schema
1 parent 0fb52cd commit a5b9aa8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/plot-schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3641,6 +3641,12 @@
36413641
"end"
36423642
]
36433643
},
3644+
"texttemplate": {
3645+
"description": "Template string used for rendering the new shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example \"y: %{y}\". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. ",
3646+
"dflt": "",
3647+
"editType": "calc+arraydraw",
3648+
"valType": "string"
3649+
},
36443650
"xanchor": {
36453651
"description": "Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the *left*, *center* or *right* of the label text. For example, if `textposition` is set to *top right* and `xanchor` to *right* then the right-most portion of the label text lines up with the right-most edge of the new shape.",
36463652
"dflt": "auto",
@@ -7292,6 +7298,12 @@
72927298
"end"
72937299
]
72947300
},
7301+
"texttemplate": {
7302+
"description": "Template string used for rendering the shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example \"y: %{y}\". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. ",
7303+
"dflt": "",
7304+
"editType": "calc+arraydraw",
7305+
"valType": "string"
7306+
},
72957307
"xanchor": {
72967308
"description": "Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the *left*, *center* or *right* of the label text. For example, if `textposition` is set to *top right* and `xanchor` to *right* then the right-most portion of the label text lines up with the right-most edge of the shape.",
72977309
"dflt": "auto",

0 commit comments

Comments
 (0)