mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
修复UpdateXYData()接口影响数据精度的问题 (#238)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user