From c17d83ae6d6ea0f1b00a64428613b237cc1cb69a Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Thu, 29 Dec 2022 20:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`UpdateXYData()`=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=BD=B1=E5=93=8D=E6=95=B0=E6=8D=AE=E7=B2=BE=E5=BA=A6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#238)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation~/zh/changelog.md | 1 + Runtime/Serie/Serie.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation~/zh/changelog.md b/Documentation~/zh/changelog.md index 7963a82e..ef1b27bb 100644 --- a/Documentation~/zh/changelog.md +++ b/Documentation~/zh/changelog.md @@ -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`显示异常的问题 diff --git a/Runtime/Serie/Serie.cs b/Runtime/Serie/Serie.cs index 5cabe856..e0d1696e 100644 --- a/Runtime/Serie/Serie.cs +++ b/Runtime/Serie/Serie.cs @@ -1658,7 +1658,7 @@ namespace XCharts.Runtime /// /// /// - 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);