From f61d77343cc571475a6645d498842b8b0184ae8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E6=97=AD=E6=98=8A?= <940151214@qq.com> Date: Thu, 14 Oct 2021 08:33:06 +0000 Subject: [PATCH 1/2] update README.md. --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c74b97..ba98ad2 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,25 @@ implementation 'io.openharmony.tpc.thirdlib:graphView-library:1.0.2' | title | String |"test1"|头部标题| | seriesTitle | String | "test5" |标签名称| - + ### 说明 + + 本库目前只支持静态数据图形展示 + 不支持滑动/缩放以及如下相关API + + 1.StaticLabelsFormatter staticLabelsFormatter = + new StaticLabelsFormatter(graphView_01,new String[] {"old", "new"},new String[] {"high", "low"}); + 此API问题为原三方库遗留问题,由于代码复杂性和功能耦合性暂无法找到解决办法 + 2.public class GraphView 内takeSnapshotAndShare + 此API与项目功能实现无关是一个分享功能, 因此考虑其价值与困难程度暂不考虑实现此功能 + 2.public class LineGraphSeries 内 public void setDrawAsPath + API(AccelerateInterpolator)缺失并且未找到替代方案导致此类相关功能无法实现 + 3.public class LineGraphSeries 内 public void setAnimated(boolean animated) + API(AccelerateInterpolator)缺失并且未找到替代方案导致此类相关功能无法实现 + 4.public class BarGraphSeries 内 public void setAnimated(boolean animated) + API(AccelerateInterpolator)缺失并且未找到替代方案导致此类相关功能无法实现 + 5.public class Viewport 内OverScroller / onScroll + 涉及到缺失API(AccelerateInterpolator)API缺失并且未找到替代方案导致此类相关功能无法实现 + 6.public class LineGraphSeries 内 AccelerateInterpolator + API缺失并且未找到替代方案导致此类相关功能无法实现 ### End -- Gitee From cbb7444566f97af01588564955e2de607ae1a80e Mon Sep 17 00:00:00 2001 From: yu_xh <940151214@qq.com> Date: Thu, 14 Oct 2021 16:43:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?changelog/readme=20=E5=86=85=E5=A4=87?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E6=9C=AA=E5=AE=9E=E7=8E=B0API=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index b5e77be..7293b23 100644 --- a/changelog.md +++ b/changelog.md @@ -24,4 +24,12 @@ v1.1.0 14. Viewport --> public double getMaxYAxisSize(); 15. Viewport --> public double setMaxXAxisSize(double mMaxXAxisViewportSize); 16. Viewport --> public double setMaxYAxisSize(double mMaxYAxisViewportSize); -16. Viewport --> public double setMinimalViewport(double minX,double maxX,double minY,double maxY); \ No newline at end of file +16. Viewport --> public double setMinimalViewport(double minX,double maxX,double minY,double maxY); +17. StaticLabelsFormatter -- >StaticLabelsFormatter staticLabelsFormatter = new StaticLabelsFormatter(graphView_01,new String[] {"old", "new"},new String[] {"high", "low"}); +18. GraphView --> public class GraphView 内takeSnapshotAndShare() +19. LineGraphSeries--> public class LineGraphSeries 内 public void setDrawAsPath() +20. LineGraphSeries -->public class LineGraphSeries 内 public void setAnimated(boolean animated) +21. BarGraphSeries --> public class BarGraphSeries 内 public void setAnimated(boolean animated) +22. Viewport --> public class Viewport 内OverScroller / onScroll +23. LineGraphSeries --> public class LineGraphSeries 内 AccelerateInterpolator + \ No newline at end of file -- Gitee