未验证 提交 6347c2c3 编写于 作者: S sushuang 提交者: GitHub

Merge pull request #17645 from apache/release-dev

Release 5.4.0
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -32,6 +32,7 @@
this._projection = new BMap.MercatorProjection();
}
BMapCoordSys.prototype.type = 'bmap';
BMapCoordSys.prototype.dimensions = ['lng', 'lat'];
BMapCoordSys.prototype.setZoom = function (zoom) {
......@@ -103,6 +104,15 @@
};
};
BMapCoordSys.prototype.convertToPixel = function (ecModel, finder, value) {
// here we ignore finder as only one bmap component is allowed
return this.dataToPoint(value);
};
BMapCoordSys.prototype.convertFromPixel = function (ecModel, finder, value) {
return this.pointToData(value);
};
function dataToCoordSize(dataSize, dataItem) {
dataItem = dataItem || [0, 0];
return echarts.util.map([0, 1], function (dimIdx) {
......@@ -233,7 +243,9 @@
if (seriesModel.get('coordinateSystem') === 'bmap') {
seriesModel.coordinateSystem = bmapCoordSys;
}
});
}); // return created coordinate systems
return bmapCoordSys && [bmapCoordSys];
};
function v2Equal(a, b) {
......
此差异已折叠。
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports);
} else {
// Browser globals
factory({});
}
})(this, function(exports) {
/**
* Language: Ukrainian.
*/
var localeObj = {
time: {
month: [
'Січень', 'Лютий', 'Березень', 'Квітень', 'Травень', 'Червень',
'Липень', 'Серпень', 'Вересень', 'Жовтень', 'Листопад', 'Грудень'
],
monthAbbr: [
'Січ', 'Лют', 'Бер', 'Кві', 'Тра', 'Чер',
'Лип', 'Сер', 'Вер', 'Жов', 'Лис', 'Гру'
],
dayOfWeek: [
'Неділя', 'Понеділок', 'Вівторок', 'Середа', 'Четвер', 'П\'ятниця', 'Субота'
],
dayOfWeekAbbr: [
'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'
]
},
legend: {
selector: {
all: 'Все',
inverse: 'Обернути'
}
},
toolbox: {
brush: {
title: {
rect: 'Выділити область',
polygon: 'Інструмент «Ласо»',
lineX: 'Горизонтальне виділення',
lineY: 'Вертикальне виділення',
keep: 'Залишити обране',
clear: 'Очистити обране'
}
},
dataView: {
title: 'Дані',
lang: ['Дані', 'Закрити', 'Оновити']
},
dataZoom: {
title: {
zoom: 'Збільшити',
back: 'Скасувати збільшення'
}
},
magicType: {
title: {
line: 'Переключитися на лінійний графік',
bar: 'Переключитися на стовпчикову діаграму',
stack: 'Стопка',
tiled: 'Плитка'
}
},
restore: {
title: 'Відновити'
},
saveAsImage: {
title: 'Зберегти зображення',
lang: ['Правий клік, щоб зберегти зображення']
}
},
series: {
typeNames: {
pie: 'Кругова діаграма',
bar: 'Стовпчикова діаграма',
line: 'Лінійний графік',
scatter: 'Точкова діаграма',
effectScatter: 'Точкова діаграма з хвилями',
radar: 'Пелюсткова діаграма',
tree: 'Дерево',
treemap: 'Пласке дерево',
boxplot: 'Ящик з вусами',
candlestick: 'Свічний графік',
k: 'Графік К-ліній',
heatmap: 'Теплова мапа',
map: 'Мапа',
parallel: 'Діаграма паралельних координат',
lines: 'Лінійний граф',
graph: 'Граф отношений',
sankey: 'Діаграма Санкей',
funnel: 'Воронкообразна діаграма',
gauge: 'Шкала',
pictorialBar: 'Стовпчик-картинка',
themeRiver: 'Тематична ріка',
sunburst: 'Сонячне проміння'
}
},
aria: {
general: {
withTitle: 'Це графік, що відрображує "{title}"',
withoutTitle: 'Це графік'
},
series: {
single: {
prefix: '',
withName: ' з типом {seriesType} та іменем {seriesName}.',
withoutName: ' з типом {seriesType}.'
},
multiple: {
prefix: '. Він складається з {seriesCount} серій.',
withName:
' Серія {seriesId} має тип {seriesType} та відображає {seriesName}.',
withoutName: ' Серія {seriesId} має тип {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Дані такі: ',
partialData: 'Перші {displayCnt} елементів: ',
withName: 'значення для {name} — {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
}
}
});
\ No newline at end of file
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
})(this, function(exports, echarts) {
/**
* Language: Ukrainian.
*/
var localeObj = {
time: {
month: [
'Січень', 'Лютий', 'Березень', 'Квітень', 'Травень', 'Червень',
'Липень', 'Серпень', 'Вересень', 'Жовтень', 'Листопад', 'Грудень'
],
monthAbbr: [
'Січ', 'Лют', 'Бер', 'Кві', 'Тра', 'Чер',
'Лип', 'Сер', 'Вер', 'Жов', 'Лис', 'Гру'
],
dayOfWeek: [
'Неділя', 'Понеділок', 'Вівторок', 'Середа', 'Четвер', 'П\'ятниця', 'Субота'
],
dayOfWeekAbbr: [
'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'
]
},
legend: {
selector: {
all: 'Все',
inverse: 'Обернути'
}
},
toolbox: {
brush: {
title: {
rect: 'Выділити область',
polygon: 'Інструмент «Ласо»',
lineX: 'Горизонтальне виділення',
lineY: 'Вертикальне виділення',
keep: 'Залишити обране',
clear: 'Очистити обране'
}
},
dataView: {
title: 'Дані',
lang: ['Дані', 'Закрити', 'Оновити']
},
dataZoom: {
title: {
zoom: 'Збільшити',
back: 'Скасувати збільшення'
}
},
magicType: {
title: {
line: 'Переключитися на лінійний графік',
bar: 'Переключитися на стовпчикову діаграму',
stack: 'Стопка',
tiled: 'Плитка'
}
},
restore: {
title: 'Відновити'
},
saveAsImage: {
title: 'Зберегти зображення',
lang: ['Правий клік, щоб зберегти зображення']
}
},
series: {
typeNames: {
pie: 'Кругова діаграма',
bar: 'Стовпчикова діаграма',
line: 'Лінійний графік',
scatter: 'Точкова діаграма',
effectScatter: 'Точкова діаграма з хвилями',
radar: 'Пелюсткова діаграма',
tree: 'Дерево',
treemap: 'Пласке дерево',
boxplot: 'Ящик з вусами',
candlestick: 'Свічний графік',
k: 'Графік К-ліній',
heatmap: 'Теплова мапа',
map: 'Мапа',
parallel: 'Діаграма паралельних координат',
lines: 'Лінійний граф',
graph: 'Граф отношений',
sankey: 'Діаграма Санкей',
funnel: 'Воронкообразна діаграма',
gauge: 'Шкала',
pictorialBar: 'Стовпчик-картинка',
themeRiver: 'Тематична ріка',
sunburst: 'Сонячне проміння'
}
},
aria: {
general: {
withTitle: 'Це графік, що відрображує "{title}"',
withoutTitle: 'Це графік'
},
series: {
single: {
prefix: '',
withName: ' з типом {seriesType} та іменем {seriesName}.',
withoutName: ' з типом {seriesType}.'
},
multiple: {
prefix: '. Він складається з {seriesCount} серій.',
withName:
' Серія {seriesId} має тип {seriesType} та відображає {seriesName}.',
withoutName: ' Серія {seriesId} має тип {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Дані такі: ',
partialData: 'Перші {displayCnt} елементів: ',
withName: 'значення для {name} — {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
echarts.registerLocale('UA', localeObj);
});
\ No newline at end of file
此差异已折叠。
{
"name": "echarts",
"version": "5.3.3",
"version": "5.4.0",
"description": "Apache ECharts is a powerful, interactive charting and data visualization library for browser",
"license": "Apache-2.0",
"keywords": [
......@@ -64,7 +64,7 @@
},
"dependencies": {
"tslib": "2.3.0",
"zrender": "npm:zrender-nightly@^5.3.3-dev.20220820"
"zrender": "5.4.0"
},
"devDependencies": {
"@babel/code-frame": "7.10.4",
......@@ -78,8 +78,8 @@
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.9.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chalk": "^3.0.0",
"commander": "2.11.0",
"cwebp-bin": "^6.1.1",
......
......@@ -139,10 +139,10 @@ type ModelFinder = modelUtil.ModelFinder;
const hasWindow = typeof window !== 'undefined';
export const version = '5.3.3';
export const version = '5.4.0';
export const dependencies = {
zrender: '5.3.2'
zrender: '5.4.0'
};
const TEST_FRAME_REMAIN_TIME = 1;
......
......@@ -23,9 +23,9 @@ under the License.
<meta charset="utf-8">
<script src="lib/simpleRequire.js"></script>
<script src="lib/config.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="//cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="//cdn.datatables.net/1.10.11/css/jquery.dataTables.min.css">
<!-- <script src="lib/jquery.min.js"></script> -->
<!-- <script src="//cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script> -->
<!-- <link rel="stylesheet" href="//cdn.datatables.net/1.10.11/css/jquery.dataTables.min.css"> -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册