整理接口

This commit is contained in:
monitor1394
2019-10-16 13:01:43 +08:00
parent 7152c6410d
commit 8a4b9fd2bf
2 changed files with 36 additions and 0 deletions

View File

@@ -448,5 +448,17 @@ namespace XCharts
m_Series.AnimationReset();
RefreshChart();
}
/// <summary>
/// 点击图例按钮
/// </summary>
/// <param name="legendIndex">图例按钮索引</param>
/// <param name="legendName">图例按钮名称</param>
/// <param name="show">显示还是隐藏</param>
public void ClickLegendButton(int legendIndex, string legendName, bool show)
{
OnLegendButtonClick(legendIndex, legendName, show);
RefreshChart();
}
}
}