Browse Source

Update AAYAxis.kt

An An 3 năm trước cách đây
mục cha
commit
582d4fd2d9

+ 6 - 0
charts/src/main/java/com/github/aachartmodel/aainfographics/aaoptionsmodel/AAYAxis.kt

@@ -10,6 +10,7 @@ package com.github.aachartmodel.aainfographics.aaoptionsmodel
 
 class AAYAxis {
     var title: AATitle? = null
+    var dateTimeLabelFormats: AADateTimeLabelFormats? = null
     var plotBands: Array<AAPlotBandsElement>? = null
     var plotLines: Array<AAPlotLinesElement>? = null
     var categories: Array<String>? = null
@@ -59,6 +60,11 @@ class AAYAxis {
         return this
     }
 
+    fun dateTimeLabelFormats(prop: AADateTimeLabelFormats): AAYAxis {
+        dateTimeLabelFormats = prop
+        return this
+    }
+
     fun plotBands(prop: Array<AAPlotBandsElement>): AAYAxis {
         plotBands = prop
         return this