File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
graphview/src/main/java/com/broooapps/graphview Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -13,30 +13,27 @@ public class CurveGraphConfig {
1313 private WeakReference <Context > ctxWeakRef ;
1414
1515 @ ColorInt
16- int axisColor = 0 ;
16+ int axisColor ;
1717
1818 @ ColorInt
19- int backgroundColor = 0 ;
19+ int xAxisScaleColor ;
2020
2121 @ ColorInt
22- int xAxisScaleColor = 0 ;
22+ int guidelineColor ;
2323
2424 @ ColorInt
25- int guidelineColor = 0 ;
25+ int yAxisScaleColor ;
2626
27- @ ColorInt
28- int yAxisScaleColor = 0 ;
29-
30- int guidelineCount = 0 ;
27+ int guidelineCount ;
3128
32- int intervalCount = 0 ;
29+ int intervalCount ;
3330
34- String noDataMsg = null ;
31+ String noDataMsg ;
3532
3633 private CurveGraphConfig (Builder builder ) {
3734 xAxisScaleColor = (builder .xAxisScaleColor == 0 ) ? ContextCompat .getColor (builder .ctxWeakRef .get (), R .color .Black ) : builder .xAxisScaleColor ;
3835 yAxisScaleColor = (builder .yAxisScaleColor == 0 ) ? ContextCompat .getColor (builder .ctxWeakRef .get (), R .color .scaleTextColor ) : builder .yAxisScaleColor ;
39- guidelineCount = (builder .guidelineCount == 0 ) ? ContextCompat .getColor (builder .ctxWeakRef .get (), R .color .guidelineColor ) : builder .guidelineColor ;
36+ guidelineColor = (builder .guidelineColor == 0 ) ? ContextCompat .getColor (builder .ctxWeakRef .get (), R .color .guidelineColor ) : builder .guidelineColor ;
4037 axisColor = (builder .axisColor == 0 ) ? ContextCompat .getColor (builder .ctxWeakRef .get (), R .color .axisColor ) : builder .axisColor ;
4138 intervalCount = (builder .intervalCount == 0 ) ? 5 : builder .intervalCount ;
4239 guidelineCount = (builder .guidelineCount == 0 ) ? 5 : builder .guidelineCount ;
You can’t perform that action at this time.
0 commit comments