File tree 1 file changed +7
-4
lines changed
ggdsl-echarts/src/main/kotlin/org/jetbrains/kotlinx/ggdsl/echarts/translator
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
package org.jetbrains.kotlinx.ggdsl.echarts.translator
6
6
7
- import kotlinx.datetime.LocalDate
8
- import kotlinx.datetime.LocalDateTime
9
- import kotlinx.datetime.LocalTime
7
+ import kotlinx.datetime.*
10
8
import org.jetbrains.kotlinx.ggdsl.echarts.aes.NAME
11
9
import org.jetbrains.kotlinx.ggdsl.echarts.aes.X
12
10
import org.jetbrains.kotlinx.ggdsl.echarts.aes.Y
@@ -183,7 +181,12 @@ internal class Parser(plot: Plot) {
183
181
typeOf< java.time.LocalDate > (), typeOf< java.time.LocalDate ? > () -> AxisType .TIME
184
182
185
183
typeOf<LocalTime >(), typeOf<LocalTime ?>(),
186
- typeOf< java.time.LocalTime > (), typeOf< java.time.LocalTime ? > () -> AxisType .CATEGORY
184
+ typeOf<Month >(), typeOf<Month ?>(),
185
+ typeOf<DayOfWeek >(), typeOf<DayOfWeek ?>(),
186
+ typeOf< java.time.LocalTime > (), typeOf< java.time.LocalTime ? > (),
187
+ typeOf< java.time.Month > (), typeOf< java.time.Month ? > (),
188
+ typeOf< java.time.DayOfWeek > (), typeOf< java.time.DayOfWeek ? > ()
189
+ -> AxisType .CATEGORY
187
190
188
191
else -> AxisType .VALUE
189
192
}
You can’t perform that action at this time.
0 commit comments