# LeafChart **Repository Path**: zhao6048/LeafChart ## Basic Information - **Project Name**: LeafChart - **Description**: 实现折线图 和直方图 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-07-06 - **Last Updated**: 2021-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LeafChart #### 项目介绍 - 项目名称:LeafChart - 所属系列:openharmony的第三方组件适配移植 - 功能:实现折线图 和直方图 - 项目移植状态:主功能完成 - 调用差异:无 - 开发版本:sdk6,DevEco Studio 2.2 Beta1 - 基线版本: tag 1.1 #### 效果演示 #### 安装教程 1.在项目根目录下的build.gradle文件中, ``` allprojects { repositories { maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } } } ``` 2.在entry模块的build.gradle文件中, ``` dependencies { implementation('com.gitee.chinasoft_ohos:LeafChart:0.0.2-SNAPSHOT') ...... } ``` 在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 实现效果:折线图和直方图。 现在openharmony项目重写DependentLayout包含的控件如下定义: XML中添加控件: ```