[feature][tooltip] support {c0} for itemFormatter (#205)

This commit is contained in:
monitor1394
2022-06-29 13:33:38 +08:00
parent 0f2f55e436
commit bb9f28dd5c
12 changed files with 72 additions and 50 deletions

View File

@@ -53,7 +53,7 @@ namespace XCharts.Runtime
{
var content = serieLabel.formatter;
FormatterHelper.ReplaceSerieLabelContent(ref content, numericFormatter, serie.dataCount, dataValue,
dataTotal, serieName, dataName, dataName, color);
dataTotal, serieName, dataName, dataName, color, serieData);
return content;
}
}