You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/11/29 05:24:19 UTC
[incubator-echarts] 01/01: fix(toolbox): remove tiled icon #11367
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch toolbox-remove-tiled-icon
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 780614906e19fa6a7c5072fcdae2635ad7ac7840
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Nov 29 13:24:02 2019 +0800
fix(toolbox): remove tiled icon #11367
---
src/component/toolbox/feature/MagicType.js | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/component/toolbox/feature/MagicType.js b/src/component/toolbox/feature/MagicType.js
index b54d31f..2d7b81d 100644
--- a/src/component/toolbox/feature/MagicType.js
+++ b/src/component/toolbox/feature/MagicType.js
@@ -37,7 +37,6 @@ MagicType.defaultOption = {
line: 'M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4',
bar: 'M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7',
stack: 'M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z', // jshint ignore:line
- tiled: 'M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z'
/* eslint-enable */
},
// `line`, `bar`, `stack`, `tiled`
@@ -98,20 +97,12 @@ var seriesOptGenreator = {
title: isStack ? zrUtil.clone(magicTypeLang.title) : zrUtil.merge({ stack: magicTypeLang.title.tiled }, magicTypeLang.title)
}, model.get('option.stack') || {}, true);
}
- },
- 'tiled': function (seriesType, seriesId, seriesModel, model) {
- if (seriesType === 'line' || seriesType === 'bar') {
- return zrUtil.merge({
- id: seriesId,
- stack: ''
- }, model.get('option.tiled') || {}, true);
- }
}
};
var radioTypes = [
['line', 'bar'],
- ['stack', 'tiled']
+ ['stack']
];
proto.onclick = function (ecModel, api, type) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org