From d3422ff4de3c5fccb11ddbf23c10acbe7803ed46 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 8 Jun 2020 07:15:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0QA=EF=BC=9A=E4=B8=BA=E4=BB=80?= =?UTF-8?q?=E4=B9=88serie=E9=87=8C=E8=AE=BE=E7=BD=AE=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=BF=90=E8=A1=8C=E5=90=8E=E5=8F=88=E8=A2=AB=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation/XCharts问答.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/XCharts问答.md b/Documentation/XCharts问答.md index 26a7c7d9..4334b1ff 100644 --- a/Documentation/XCharts问答.md +++ b/Documentation/XCharts问答.md @@ -31,6 +31,7 @@ [QA 25:如何实现心电图类似的数据移动效果?](#如何实现心电图类似的数据移动效果) [QA 26:如何使用背景组件?有什么条件限制?](#如何使用背景组件?有什么条件限制) [QA 27:Mesh can not have more than 65000 vertices?](#Mesh_cannot_have_more_than_65000_vertices) +[QA 28:为什么serie里设置的参数运行后又被重置了?](#为什么serie里设置的参数运行后又被重置了) ## 如何调整坐标轴与背景的边距 @@ -144,6 +145,10 @@ 答:这是`UGUI`对单个`Graphic`的顶点数限制。`XCharts`是将图形绘制在单个`Graphic`上,所以也会有这个限制。解决的办法可以参考:[QA 10:可以显示超过1000以上的大数据吗?](#可以显示超过1000以上的大数据吗) +## 为什么serie里设置的参数运行后又被重置了 + +答:检测下代码里是否调用了`RemoveData()`并重新添加`Serie`了。如果想保留`Serie`的配置可以只`ClearData()`,然后重新添加数据。 + [返回首页](https://github.com/monitor1394/unity-ugui-XCharts) [XChartsAPI接口](XChartsAPI.md) [XCharts配置项手册](XCharts配置项手册.md)