修复UpdateXYData()接口影响数据精度的问题 (#238)

This commit is contained in:
monitor1394
2022-12-29 20:57:56 +08:00
parent 317ffc4d99
commit c17d83ae6d
2 changed files with 2 additions and 1 deletions

View File

@@ -1658,7 +1658,7 @@ namespace XCharts.Runtime
/// <param name="index"></param>
/// <param name="xValue"></param>
/// <param name="yValue"></param>
public bool UpdateXYData(int index, float xValue, float yValue)
public bool UpdateXYData(int index, double xValue, double yValue)
{
var flag1 = UpdateData(index, 0, xValue);
var flag2 = UpdateData(index, 1, yValue);