Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzicheng committed Aug 16, 2023
1 parent e05eb05 commit aec8fe0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

# Demo效果图

<img src="https://github.com/zicheng2019/linechart-android/blob/master/demo.gif" style="zoom:100%;" />
<img src="https://github.com/zhzc0x/linechart-android/blob/master/demo.gif" style="zoom:100%;" />

# 使用

- 添加gradle依赖(version=[![](https://jitpack.io/v/zicheng2019/linechart-android.svg)](https://jitpack.io/#zicheng2019/linechart-android)
- 添加gradle依赖(version=[![](https://jitpack.io/v/zhzc0x/linechart-android.svg)](https://jitpack.io/#zhzc0x/linechart-android)

```groovy
Expand All @@ -21,15 +21,15 @@ repositories {
//Add it in your app build.gradle
dependencies {
implementation 'com.github.zicheng2019:linechart-android:$version'
implementation 'com.github.zhzc0x:linechart-android:$version'
}
```

- 布局文件中声明(更多属性说明详见 #自定义属性说明)

```xml
//静态波形LineChartView
<com.github.zicheng.chart.LineChartView
<com.zhzc0x.chart.LineChartView
android:id="@+id/lineChartView"
android:layout_width="match_parent"
android:layout_height="120dp"
Expand Down Expand Up @@ -61,7 +61,7 @@ repositories {
app:pointXEnd="0dp"/>

//动态实时波形LiveLineChartView
<com.github.zicheng.chart.LiveLineChartView
<com.zhzc0x.chart.LiveLineChartView
android:id="@+id/liveLineChartView"
android:layout_width="match_parent"
android:layout_height="120dp"
Expand Down Expand Up @@ -340,7 +340,7 @@ class LiveLineChartView {
# License

```
Copyright 2022 zicheng2019
Copyright 2022 zhzc0x
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.21' apply false
id 'org.jetbrains.kotlin.android' version '1.8.22' apply false
}

task clean(type: Delete) {
Expand Down

0 comments on commit aec8fe0

Please sign in to comment.