(
formatter: TimeAxisLabelFormatterOption
)
| 107 | |
| 108 | |
| 109 | export function parseTimeAxisLabelFormatter( |
| 110 | formatter: TimeAxisLabelFormatterOption |
| 111 | ): TimeAxisLabelFormatterParsed { |
| 112 | // Keep the logic the same with function `leveledFormat`. |
| 113 | return (!zrUtil.isString(formatter) && !zrUtil.isFunction(formatter)) |
| 114 | ? parseTimeAxisLabelFormatterDictionary(formatter) |
| 115 | : formatter; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * The final generated dictionary is like: |
no test coverage detected
searching dependent graphs…