mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 01:40:06 +00:00
修复Legend的LabelStyle的formatter不生效的问题
This commit is contained in:
@@ -161,7 +161,7 @@ namespace XCharts.Runtime
|
||||
private string GetFormatterContent(Legend legend, int dataIndex, string category)
|
||||
{
|
||||
#pragma warning disable 0618
|
||||
if (string.IsNullOrEmpty(legend.formatter) || string.IsNullOrEmpty(legend.labelStyle.formatter))
|
||||
if (string.IsNullOrEmpty(legend.formatter) && string.IsNullOrEmpty(legend.labelStyle.formatter))
|
||||
return category;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user