mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
3.8.2
This commit is contained in:
@@ -1225,7 +1225,7 @@ Text label of chart, to explain some data information about graphic item like va
|
||||
|rotate|||Rotation of label.
|
||||
|autoRotate|false|v3.6.0|auto rotate of label.
|
||||
|distance|||the distance of label to axis line.
|
||||
|formatter|||label content string template formatter. \n line wrapping is supported. Formatters for some components will not take effect. <br /> Template placeholder have the following, some of which apply only to fixed components: <br /> '{.}' : indicates the dot mark. <br /> '{a}' : indicates the series name. <br /> '{b}' : category value or data name. <br /> '{c}' : data value. <br /> '{d}' : percentage. <br /> '{e}' : indicates the data name. <br /> '{f}' : data sum. <br /> '{g}' : indicates the total number of data. <br /> '{h}' : hexadecimal color value. <br /> '{value}' : The value of the axis or legend. <br /> The following placeholder apply to `UITable` components: <br /> '{name}' : indicates the row name of the table. <br /> '{index}' : indicates the row number of the table. <br /> The following placeholder apply to `UIStatistc` components: <br /> '{title}' : title text. <br /> '{dd}' : day. <br /> '{hh}' : hours. <br /> '{mm}' : minutes. <br /> '{ss}' : second. <br /> '{fff}' : milliseconds. <br /> '{d}' : day. <br /> '{h}' : hours. <br /> '{m}' : minutes. <br /> '{s}' : second. <br /> '{f}' : milliseconds. <br /> Example :{b}:{c}<br />
|
||||
|formatter|||label content string template formatter. \n line wrapping is supported. Formatters for some components will not take effect. <br /> Template placeholder have the following, some of which apply only to fixed components: <br /> `{.}` : indicates the dot mark. <br /> `{a}` : indicates the series name. <br /> `{b}` : category value or data name. <br /> `{c}` : data value. <br /> `{d}` : percentage. <br /> `{e}` : indicates the data name. <br /> `{f}` : data sum. <br /> `{g}` : indicates the total number of data. <br /> `{h}` : hexadecimal color value. <br /> `{value}` : The value of the axis or legend. <br /> The following placeholder apply to `UITable` components: <br /> `{name}` : indicates the row name of the table. <br /> `{index}` : indicates the row number of the table. <br /> The following placeholder apply to `UIStatistc` components: <br /> `{title}` : title text. <br /> `{dd}` : day. <br /> `{hh}` : hours. <br /> `{mm}` : minutes. <br /> `{ss}` : second. <br /> `{fff}` : milliseconds. <br /> `{d}` : day. <br /> `{h}` : hours. <br /> `{m}` : minutes. <br /> `{s}` : second. <br /> `{f}` : milliseconds. <br /> Example :{b}:{c}<br />
|
||||
|numericFormatter|||Standard numeric format string. Used to format numeric values and display them as strings. Use the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N number, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. reference: https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
|
||||
|width|0||the width of label. If set as default value 0, it means than the label width auto set as the text width.
|
||||
|height|0||the height of label. If set as default value 0, it means than the label height auto set as the text height.
|
||||
|
||||
Reference in New Issue
Block a user