()
| 384 | } |
| 385 | |
| 386 | _updateCategoriesData() { |
| 387 | const categories = zrUtil.map(this.option.categories || [], function (category) { |
| 388 | // Data must has value |
| 389 | return category.value != null ? category : zrUtil.extend({ |
| 390 | value: 0 |
| 391 | }, category); |
| 392 | }); |
| 393 | const categoriesData = new SeriesData(['value'], this); |
| 394 | categoriesData.initData(categories); |
| 395 | |
| 396 | this._categoriesData = categoriesData; |
| 397 | |
| 398 | this._categoriesModels = categoriesData.mapArray(function (idx) { |
| 399 | return categoriesData.getItemModel(idx); |
| 400 | }); |
| 401 | } |
| 402 | |
| 403 | isAnimationEnabled() { |
| 404 | return super.isAnimationEnabled() |
no test coverage detected