# williamchart **Repository Path**: ts_ohos/williamchart ## Basic Information - **Project Name**: williamchart - **Description**: 核心功能在openharmony存在API缺失阻塞,进行了kotlin到java代码的移植,移植问题及缺陷参考原项目及文档。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-11 - **Last Updated**: 2022-09-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # williamchart(Android运行) 本项目是基于开源项目williamchart进行harmonyos化的移植和开发的,可以通过项目标签以及 [github地址](https://github.com/diogobernardino/williamchart) 访问原项目 移植版本:3.10.1 ## 项目介绍 ### 项目名称:williamchart ### 所属系列:harmonyos的第三方组件适配移植 ### 功能: - 主要用于图表显示的组件 - 如折线图 - 条形图 - 甜甜圈图 ### 项目移植状态:核心功能在harmonyos存在API缺失阻塞,进行了kotlin到java代码的移植,移植问题及缺陷参考原项目及文档。 ### 调用差异:基本没有使用差异,请参照demo使用 ### 原项目Doc地址:https://github.com/diogobernardino/williamchart ### 编程语言:java ## 安装教程 方案一 建议下载开源代码并参照demo引入相关库: implementation project(path: ':williamchart') // Tooltips implementation project(path: ':slidertooltip') implementation project(path: ':pointstooltip') 方案二 项目根目录的build.gradle中的repositories添加: mavenCentral() module目录的build.gralde中dependencies添加: implementation 'com.gitee.ts_ohos:williamchart:1.0.0' // Tooltips implementation 'com.gitee.ts_ohos:slidertooltip:1.0.0' implementation 'com.gitee.ts_ohos:pointstooltip:1.0.0' ### 使用案例 #### All charts ```xml ``` #### Line Chart ```xml ``` #### Bar Chart ```xml ``` #### Donut Chart ```xml ``` # License ``` opyright 2019 Diogo Bernardino Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```