mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 05:10:12 +00:00
修复UpdateXYData()接口影响数据精度的问题 (#238)
This commit is contained in:
@@ -65,6 +65,7 @@ slug: /changelog
|
||||
|
||||
## master
|
||||
|
||||
* (2022.12.29) 修复`UpdateXYData()`接口影响数据精度的问题 (#238)
|
||||
* (2022.12.28) 修复`Pie`只有一个数据时设置`border`后显示异常的问题 (#237)
|
||||
* (2022.12.22) 调整`Covert`重命名为`Convert`,涉及的接口有:`ConvertXYAxis()`,`CovertSerie()`等
|
||||
* (2022.12.22) 修复`Convert XY Axis`后Y轴的`Label`显示异常的问题
|
||||
|
||||
@@ -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