Skip to content

Commit eed1e81

Browse files
committed
增加注释
支持自定义每条线样式
1 parent b3e899d commit eed1e81

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/bin/david/smartchart/custom/MarkPoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public void drawPoint(Canvas canvas, float x, float y, boolean isShowDefaultColo
5050

5151
canvas.drawBitmap(markBitmap,bitmapRect,rect,paint);
5252
paint.setXfermode(xfermode);
53-
rect.top -= width/6;
54-
rect.right -= width/6;
53+
rect.top += width/6;
54+
rect.right-= width/6;
5555
rect.left +=width/6;
5656
rect.bottom = rect.top+rect.width();
5757
canvas.drawBitmap(avatorBitmap,avatorbitmapRect,rect,paint);

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.3.3'
8+
classpath 'com.android.tools.build:gradle:3.0.0'
99

1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Sep 26 14:59:28 CST 2017
1+
#Fri Oct 27 15:18:51 CST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 commit comments

Comments
 (0)