(ecModel: GlobalModel)
| 166 | } |
| 167 | |
| 168 | function getContentFromModel(ecModel: GlobalModel) { |
| 169 | |
| 170 | const result = groupSeries(ecModel); |
| 171 | |
| 172 | return { |
| 173 | value: zrUtil.filter([ |
| 174 | assembleSeriesWithCategoryAxis(result.seriesGroupByCategoryAxis), |
| 175 | assembleOtherSeries(result.other) |
| 176 | ], function (str) { |
| 177 | return !!str.replace(/[\n\t\s]/g, ''); |
| 178 | }).join('\n\n' + BLOCK_SPLITER + '\n\n'), |
| 179 | |
| 180 | meta: result.meta |
| 181 | }; |
| 182 | } |
| 183 | |
| 184 | |
| 185 | function trim(str: string) { |
no test coverage detected
searching dependent graphs…