mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-30 13:28:47 +00:00
修复Tooltip的itemFormatter设置通配符{d}后异常的问题
This commit is contained in:
@@ -60,6 +60,8 @@
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
|
* (2022.11.04) 修复`Tooltip`的`itemFormatter`设置通配符`{d}`后异常的问题
|
||||||
|
|
||||||
## v3.4.0
|
## v3.4.0
|
||||||
|
|
||||||
### 版本要点
|
### 版本要点
|
||||||
|
|||||||
@@ -579,7 +579,7 @@ namespace XCharts.Runtime
|
|||||||
param.dataCount = serie.dataCount;
|
param.dataCount = serie.dataCount;
|
||||||
param.value = serieData.GetData(param.dimension);
|
param.value = serieData.GetData(param.dimension);
|
||||||
param.ignore = ignore;
|
param.ignore = ignore;
|
||||||
param.total = SerieHelper.GetMaxData(serie, dimension);
|
param.total = serie.multiDimensionLabel? serieData.GetTotalData() : serie.GetDataTotal(defaultDimension);
|
||||||
param.color = color;
|
param.color = color;
|
||||||
param.marker = SerieHelper.GetItemMarker(serie, serieData, marker);
|
param.marker = SerieHelper.GetItemMarker(serie, serieData, marker);
|
||||||
param.itemFormatter = itemFormatter;
|
param.itemFormatter = itemFormatter;
|
||||||
|
|||||||
Reference in New Issue
Block a user