You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/03/26 19:20:07 UTC
[incubator-echarts] branch master updated: Temporary solution for
chart radar can display axislabel correctly.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push:
new e954921 Temporary solution for chart radar can display axislabel correctly.
new 243b22f Merge pull request #10036 from jeoy/master
e954921 is described below
commit e95492182a6b2a7a71d1cae13078332c3692504c
Author: jeoy <je...@126.com>
AuthorDate: Mon Mar 4 14:58:16 2019 +0800
Temporary solution for chart radar can display axislabel correctly.
* fix bug #9282
---
src/component/axis/AxisBuilder.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/component/axis/AxisBuilder.js b/src/component/axis/AxisBuilder.js
index 9e66ea1..fd38b08 100644
--- a/src/component/axis/AxisBuilder.js
+++ b/src/component/axis/AxisBuilder.js
@@ -643,7 +643,7 @@ function buildAxisLabel(axisBuilder, axisModel, opt) {
) * PI / 180;
var labelLayout = innerTextLayout(opt.rotation, labelRotation, opt.labelDirection);
- var rawCategoryData = axisModel.getCategories(true);
+ var rawCategoryData = axisModel.getCategories && axisModel.getCategories(true);
var labelEls = [];
var silent = isLabelSilent(axisModel);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org