diff --git a/README.md b/README.md index 8c74b979119fff3b5b9c0f928debc48f96956232..ba98ad2b4231ce0508cb7a25bbd2da5aaf116c10 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 diff --git a/changelog.md b/changelog.md index b5e77be1660012392431016b65e71e824061179d..7293b23f2289c9f6d00aa6070ea09630929a0b79 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