Эх сурвалжийг харах

Set title and subtitle be empty string in default condition

An An 5 жил өмнө
parent
commit
3dd84f86d7

+ 2 - 0
app/src/main/java/com/aachartmodel/aainfographics/AAInfographicsLib/AAChartConfiger/AAChartModel.kt

@@ -463,6 +463,8 @@ class AAChartModel {
     }
 
      init {
+         title                = ""
+         subtitle             = ""
          chartType            = AAChartType.Line
          animationDuration    = 500 //以毫秒为单位
          animationType        = AAChartAnimationType.Linear