增加LegendTextLimit可限制图例显示文本的长度

This commit is contained in:
monitor1394
2023-12-12 10:22:32 +08:00
parent 53c7ddf9d4
commit 922a944881
9 changed files with 38 additions and 3 deletions

View File

@@ -2342,6 +2342,9 @@ Configurations of select state.
|IsIgnoreValue()||public bool IsIgnoreValue(SerieData serieData, double value)|
|IsIgnoreValue()||public bool IsIgnoreValue(SerieData serieData, int dimension = 1)|
|IsLegendName()||public bool IsLegendName(string legendName)|
|IsMinShowLabelValue()||public bool IsMinShowLabelValue(double value)|
|IsMinShowLabelValue()||public bool IsMinShowLabelValue(int index, int dimension = 1)|
|IsMinShowLabelValue()||public bool IsMinShowLabelValue(SerieData serieData, int dimension = 1)|
|IsPerformanceMode()||public bool IsPerformanceMode()<br/>是否为性能模式。性能模式下不绘制Symbol不刷新Label不单独设置数据项配置。 |
|IsSerie&lt;T&gt;()||public bool IsSerie&lt;T&gt;() where T : Serie|
|IsSerieDataLegendName()||public bool IsSerieDataLegendName(string legendName)|

View File

@@ -1303,6 +1303,7 @@ Legend component.The legend component shows different sets of tags, colors, and
|itemOpacity|1||the opacity of item color.
|formatter|||No longer used, the use of LabelStyle.formatter instead.
|labelStyle|||the style of text. [LabelStyle](#labelstyle)|
|textLimit||v3.10.0|the limit of text. [TextLimit](#textlimit)|
|data|||Data array of legend. An array item is usually a name representing string. (If it is a pie chart, it could also be the name of a single data in the pie chart) of a series. If data is not specified, it will be auto collected from series.
|icons|||自定义的图例标记图形。
|colors|||the colors of legend item.
@@ -1816,6 +1817,8 @@ Configurations of select state.
|center|||the center of chart.
|radius|||the radius of chart.
|minRadius|0f|v3.8.0|the min radius of chart. It can be used to limit the minimum radius of the rose chart.
|minShowLabel|false|v3.10.0|Whether the label is not displayed when the enabled value is less than the specified value.
|minShowLabelValue|0|v3.10.0|When 'minShowLabel' is enabled, labels are not displayed if the value is less than this value.
|showDataDimension|||数据项里的数据维数。
|showDataName|||在Editor的inpsector上是否显示name参数
|clip|false||If clip the overflow on the coordinate system.