未验证 提交 e450ae01 编写于 作者: Z Zhongxiang Wang 提交者: GitHub

Merge pull request #18414 from apache/fix/merge-release-to-master

chore: marge-release-to-master
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -7131,7 +7131,7 @@
function registerPainter(name, Ctor) {
painterCtors[name] = Ctor;
}
var version = '5.4.1';
var version = '5.4.3';
var zrender = /*#__PURE__*/Object.freeze({
__proto__: null,
......@@ -9199,16 +9199,19 @@
}
}
}
function isLatin(ch) {
function isAlphabeticLetter(ch) {
var code = ch.charCodeAt(0);
return code >= 0x21 && code <= 0x17F;
return code >= 0x20 && code <= 0x24F
|| code >= 0x370 && code <= 0x10FF
|| code >= 0x1200 && code <= 0x13FF
|| code >= 0x1E00 && code <= 0x206F;
}
var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) {
obj[ch] = true;
return obj;
}, {});
function isWordBreakChar(ch) {
if (isLatin(ch)) {
if (isAlphabeticLetter(ch)) {
if (breakCharMap[ch]) {
return true;
}
......@@ -15790,23 +15793,23 @@
*/
/*
* 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.
*/
* 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.
*/
/**
* Language: English.
......@@ -19746,11 +19749,7 @@
if (obj) {
var dimensions_1 = [];
each(obj, function (value, key) {
dimensions_1.push(key);
});
return dimensions_1;
return keys(obj);
}
} // Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'],
// which is reasonable. But dimension name is duplicated.
......@@ -21231,7 +21230,7 @@
/** @class */
function () {
function DataStore() {
this._chunks = []; // It will not be calculated util needed.
this._chunks = []; // It will not be calculated until needed.
this._rawExtent = [];
this._extent = [];
......@@ -21649,7 +21648,7 @@
// When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,
// we'd better not push both of them to `nearestIndices`, otherwise it is easy to
// get more than one item in `nearestIndices` (more specifically, in `tooltip`).
// So we chose the one that `diff >= 0` in this csae.
// So we choose the one that `diff >= 0` in this case.
// But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them
// should be push to `nearestIndices`.
if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {
......@@ -22001,7 +22000,7 @@
maxArea = -1;
nextRawIndex = frameStart;
var firstNaNIndex = -1;
var countNaN = 0; // Find a point from current frame that construct a triangel with largest area with previous selected point
var countNaN = 0; // Find a point from current frame that construct a triangle with largest area with previous selected point
// And the average of next frame.
for (var idx = frameStart; idx < frameEnd; idx++) {
......@@ -22797,8 +22796,8 @@
var inlineName = multipleSeries ? seriesName : itemName;
return createTooltipMarkup('section', {
header: seriesName,
// When series name not specified, do not show a header line with only '-'.
// This case alway happen in tooltip.trigger: 'item'.
// When series name is not specified, do not show a header line with only '-'.
// This case always happens in tooltip.trigger: 'item'.
noHeader: multipleSeries || !seriesNameSpecified,
sortParam: sortParam,
blocks: [createTooltipMarkup('nameValue', {
......@@ -23410,7 +23409,7 @@
}
function dataTaskProgress(param, context) {
// Avoid repead cloneShallow when data just created in reset.
// Avoid repeat cloneShallow when data just created in reset.
if (context.outputData && param.end > context.outputData.count()) {
context.model.getRawData().cloneShallow(context.outputData);
}
......@@ -25167,7 +25166,7 @@
}
}
// Inlucdes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
// Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect
function createLegacyDataSelectAction(seriesType, ecRegisterAction) {
function getSeriesIndices(ecModel, payload) {
......@@ -26787,9 +26786,9 @@
return implsStore[name];
}
var version$1 = '5.4.1';
var version$1 = '5.4.2';
var dependencies = {
zrender: '5.4.1'
zrender: '5.4.3'
};
var TEST_FRAME_REMAIN_TIME = 1;
var PRIORITY_PROCESSOR_SERIES_FILTER = 800; // Some data processors depends on the stack result dimension (to calculate data extent).
......@@ -39041,7 +39040,7 @@
var polyline = this._polyline;
var polygon = this._polygon;
var lineGroup = this._lineGroup;
var hasAnimation = seriesModel.get('animation');
var hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
var isAreaChart = !areaStyleModel.isEmpty();
var valueOrigin = areaStyleModel.get('origin');
var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
......@@ -39421,8 +39420,8 @@
seriesDuration = seriesDuration(null);
}
var seriesDalay = seriesModel.get('animationDelay') || 0;
var seriesDalayValue = isFunction(seriesDalay) ? seriesDalay(null) : seriesDalay;
var seriesDelay = seriesModel.get('animationDelay') || 0;
var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
data.eachItemGraphicEl(function (symbol, idx) {
var el = symbol;
......@@ -39467,7 +39466,7 @@
ratio = 1 - ratio;
}
var delay = isFunction(seriesDalay) ? seriesDalay(idx) : seriesDuration * ratio + seriesDalayValue;
var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
var symbolPath = el.getSymbolPath();
var text = symbolPath.getTextContent();
el.attr({
......@@ -39965,22 +39964,75 @@
if (coordSys && coordSys.clampData) {
// PENDING if clamp ?
var pt_1 = coordSys.dataToPoint(coordSys.clampData(value));
var clampData_1 = coordSys.clampData(value);
var pt_1 = coordSys.dataToPoint(clampData_1);
if (startingAtTick) {
each(coordSys.getAxes(), function (axis, idx) {
// If axis type is category, use tick coords instead
if (axis.type === 'category') {
if (axis.type === 'category' && dims != null) {
var tickCoords = axis.getTicksCoords();
var tickIdx = coordSys.clampData(value)[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
var targetTickId = clampData_1[idx]; // The index of rightmost tick of markArea is 1 larger than x1/y1 index
var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1';
if (isEnd) {
targetTickId += 1;
} // The only contains one tick, tickCoords is
// like [{coord: 0, tickValue: 0}, {coord: 0}]
// to the length should always be larger than 1
if (dims && (dims[idx] === 'x1' || dims[idx] === 'y1')) {
tickIdx += 1;
if (tickCoords.length < 2) {
return;
} else if (tickCoords.length === 2) {
// The left value and right value of the axis are
// the same. coord is 0 in both items. Use the max
// value of the axis as the coord
pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]);
return;
}
tickIdx > tickCoords.length - 1 && (tickIdx = tickCoords.length - 1);
tickIdx < 0 && (tickIdx = 0);
tickCoords[tickIdx] && (pt_1[idx] = axis.toGlobalCoord(tickCoords[tickIdx].coord));
var leftCoord = void 0;
var coord = void 0;
var stepTickValue = 1;
for (var i = 0; i < tickCoords.length; i++) {
var tickCoord = tickCoords[i].coord; // The last item of tickCoords doesn't contain
// tickValue
var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue;
if (tickValue === targetTickId) {
coord = tickCoord;
break;
} else if (tickValue < targetTickId) {
leftCoord = tickCoord;
} else if (leftCoord != null && tickValue > targetTickId) {
coord = (tickCoord + leftCoord) / 2;
break;
}
if (i === 1) {
// Here we assume the step of category axes is
// the same
stepTickValue = tickValue - tickCoords[0].tickValue;
}
}
if (coord == null) {
if (!leftCoord) {
// targetTickId is smaller than all tick ids in the
// visible area, use the leftmost tick coord
coord = tickCoords[0].coord;
} else if (leftCoord) {
// targetTickId is larger than all tick ids in the
// visible area, use the rightmost tick coord
coord = tickCoords[tickCoords.length - 1].coord;
}
}
pt_1[idx] = axis.toGlobalCoord(coord);
}
});
} else {
......@@ -40356,6 +40408,27 @@
return distance * Math.cos(angle) * (isEnd ? 1 : -1);
}
function getSectorCornerRadius(model, shape, zeroIfNull) {
var cornerRadius = model.get('borderRadius');
if (cornerRadius == null) {
return zeroIfNull ? {
cornerRadius: 0
} : null;
}
if (!isArray(cornerRadius)) {
cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
}
var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
return {
cornerRadius: map(cornerRadius, function (cr) {
return parsePercent(cr, dr);
})
};
}
var mathMax$6 = Math.max;
var mathMin$6 = Math.min;
......@@ -40488,6 +40561,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
} else {
bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[dataIndex] = bgEl;
......@@ -40560,6 +40635,8 @@
if (coord.type === 'cartesian2d') {
bgEl.setShape('r', barBorderRadius);
} else {
bgEl.setShape('cornerRadius', barBorderRadius);
}
bgEls[newIndex] = bgEl;
......@@ -40953,7 +41030,7 @@
var sectorShape = sector.shape;
var animateProperty = isRadial ? 'r' : 'endAngle';
var animateTarget = {};
sectorShape[animateProperty] = isRadial ? 0 : layout.startAngle;
sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle;
animateTarget[animateProperty] = layout[animateProperty];
(isUpdate ? updateProps : initProps)(sector, {
shape: animateTarget // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue
......@@ -41103,7 +41180,13 @@
var style = data.getItemVisual(dataIndex, 'style');
if (!isPolar) {
el.setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
el.setShape('r', borderRadius);
} else if (!seriesModel.get('roundCap')) {
var sectorShape = el.shape;
var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
extend(sectorShape, cornerRadius);
el.setShape(sectorShape);
}
el.useStyle(style);
......@@ -42082,27 +42165,6 @@
}
}
function getSectorCornerRadius(model, shape, zeroIfNull) {
var cornerRadius = model.get('borderRadius');
if (cornerRadius == null) {
return zeroIfNull ? {
cornerRadius: 0
} : null;
}
if (!isArray(cornerRadius)) {
cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
}
var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
return {
cornerRadius: map(cornerRadius, function (cr) {
return parsePercent(cr, dr);
})
};
}
/**
* Piece of pie including Sector, Label, LabelLine
*/
......@@ -44001,7 +44063,7 @@
handleAutoShown: function () {
return true;
}
}); // FIXME Not use a seperate text group?
}); // FIXME Not use a separate text group?
var transformGroup = new Group({
x: opt.position[0],
......@@ -44509,7 +44571,7 @@
// in category axis.
// (2) Compatible with previous version, which always use formatted label as
// input. But in interval scale the formatted label is like '223,445', which
// maked user repalce ','. So we modify it to return original val but remain
// maked user replace ','. So we modify it to return original val but remain
// it as 'string' to avoid error in replacing.
axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor
})
此差异已折叠。
此差异已折叠。
......@@ -163,6 +163,7 @@
}
}
};
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
......
......@@ -163,6 +163,7 @@
}
}
};
echarts.registerLocale('CS', localeObj);
});
\ No newline at end of file
......@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
......
......@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
echarts.registerLocale('DE', localeObj);
});
\ No newline at end of file
......@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
......
......@@ -163,6 +163,7 @@ var localeObj = {
}
}
};
echarts.registerLocale('SI', localeObj);
});
\ 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'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports);
} else {
// Browser globals
factory({});
}
})(this, function(exports) {
/**
* Language: Türkçe.
*/
var localeObj = {
time: {
month: [
'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'
],
monthAbbr: [
'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz',
'Tem', 'Agu', 'Eyl', 'Eki', 'Kas', 'Ara'
],
dayOfWeek: [
'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'
],
dayOfWeekAbbr: [
'Paz', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cts'
]
},
legend: {
selector: {
all: 'Tümünü Seç',
inverse: 'Seçimi Ters Çevir'
}
},
toolbox: {
brush: {
title: {
rect: 'Dikdörtgen Seçimi',
polygon: 'Kement Seçimi',
lineX: 'Yatay Seçim',
lineY: 'Dikey Seçim',
keep: 'Seçimi Koru',
clear: 'Seçimi Sil'
}
},
dataView: {
title: 'Veri Görünümü',
lang: ['Veri Görünümü', 'Kapat', 'Yenile']
},
dataZoom: {
title: {
zoom: 'Yakınlaştır/Uzaklaştır',
back: 'Yakınlaştırmayı Sıfırla'
}
},
magicType: {
title: {
line: 'Çizgisel Grafiğe Çevir',
bar: 'Çubuk Grafiğe Çevir',
stack: 'Yığın',
tiled: 'Blok'
}
},
restore: {
title: 'Eski Haline Getir'
},
saveAsImage: {
title: 'Resim Olarak Kaydet',
lang: ['Resim Olarak Kaydetmek için Sağ Tıklayın']
}
},
series: {
typeNames: {
pie: 'Pasta Grafiği',
bar: 'Çubuk Grafik',
line: 'Çizgi Grafiği',
scatter: 'Dağılım Grafiği',
effectScatter: 'Dalga Efekt Dağılım Grafiği',
radar: 'Radar Grafiği',
tree: 'Ağaç Grafiği',
treemap: 'Ağaç Haritası',
boxplot: 'Kutu Grafiği',
candlestick: 'Şamdan Grafik',
k: 'K Çizgi Grafiği',
heatmap: 'Sıcaklık Haritası',
map: 'Harita',
parallel: 'Paralel Koordinat Haritası',
lines: 'Çizgisel Grafik',
graph: 'İlişkisel Grafik',
sankey: 'Sankey Diagramı',
funnel: 'Huni Grafik',
gauge: 'Gösterge',
pictorialBar: 'Resimli Çubuk Grafiği',
themeRiver: 'Akış Haritası',
sunburst: 'Güeş Patlaması Tablosu'
}
},
aria: {
general: {
withTitle: 'Bu grafik "{title}" içindir.',
withoutTitle: 'Bu Bir Grafiktir.'
},
series: {
single: {
prefix: '',
withName: ' Grafik Türü {seriesType} ve {seriesName} gösteriyor.',
withoutName: ' {seriesType} tipinde grafik.'
},
multiple: {
prefix: '. {seriesCount} kadar grafik sayısından oluşur.',
withName: ' {seriesId}.serisi {seriesName} adını temsil eden bir {seriesType} temsil eder.',
withoutName: ' {seriesId}. serisi bir {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Veriler Aşağıdaki Gibidir: ',
partialData: 'İlk {displayCnt} öğesi: ',
withName: ' {value} için {name}',
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: Türkçe.
*/
var localeObj = {
time: {
month: [
'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'
],
monthAbbr: [
'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz',
'Tem', 'Agu', 'Eyl', 'Eki', 'Kas', 'Ara'
],
dayOfWeek: [
'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'
],
dayOfWeekAbbr: [
'Paz', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cts'
]
},
legend: {
selector: {
all: 'Tümünü Seç',
inverse: 'Seçimi Ters Çevir'
}
},
toolbox: {
brush: {
title: {
rect: 'Dikdörtgen Seçimi',
polygon: 'Kement Seçimi',
lineX: 'Yatay Seçim',
lineY: 'Dikey Seçim',
keep: 'Seçimi Koru',
clear: 'Seçimi Sil'
}
},
dataView: {
title: 'Veri Görünümü',
lang: ['Veri Görünümü', 'Kapat', 'Yenile']
},
dataZoom: {
title: {
zoom: 'Yakınlaştır/Uzaklaştır',
back: 'Yakınlaştırmayı Sıfırla'
}
},
magicType: {
title: {
line: 'Çizgisel Grafiğe Çevir',
bar: 'Çubuk Grafiğe Çevir',
stack: 'Yığın',
tiled: 'Blok'
}
},
restore: {
title: 'Eski Haline Getir'
},
saveAsImage: {
title: 'Resim Olarak Kaydet',
lang: ['Resim Olarak Kaydetmek için Sağ Tıklayın']
}
},
series: {
typeNames: {
pie: 'Pasta Grafiği',
bar: 'Çubuk Grafik',
line: 'Çizgi Grafiği',
scatter: 'Dağılım Grafiği',
effectScatter: 'Dalga Efekt Dağılım Grafiği',
radar: 'Radar Grafiği',
tree: 'Ağaç Grafiği',
treemap: 'Ağaç Haritası',
boxplot: 'Kutu Grafiği',
candlestick: 'Şamdan Grafik',
k: 'K Çizgi Grafiği',
heatmap: 'Sıcaklık Haritası',
map: 'Harita',
parallel: 'Paralel Koordinat Haritası',
lines: 'Çizgisel Grafik',
graph: 'İlişkisel Grafik',
sankey: 'Sankey Diagramı',
funnel: 'Huni Grafik',
gauge: 'Gösterge',
pictorialBar: 'Resimli Çubuk Grafiği',
themeRiver: 'Akış Haritası',
sunburst: 'Güeş Patlaması Tablosu'
}
},
aria: {
general: {
withTitle: 'Bu grafik "{title}" içindir.',
withoutTitle: 'Bu Bir Grafiktir.'
},
series: {
single: {
prefix: '',
withName: ' Grafik Türü {seriesType} ve {seriesName} gösteriyor.',
withoutName: ' {seriesType} tipinde grafik.'
},
multiple: {
prefix: '. {seriesCount} kadar grafik sayısından oluşur.',
withName: ' {seriesId}.serisi {seriesName} adını temsil eden bir {seriesType} temsil eder.',
withoutName: ' {seriesId}. serisi bir {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Veriler Aşağıdaki Gibidir: ',
partialData: 'İlk {displayCnt} öğesi: ',
withName: ' {value} için {name}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
echarts.registerLocale('TR', localeObj);
});
\ 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'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports);
} else {
// Browser globals
factory({});
}
})(this, function(exports) {
/**
* Language: Vietnamese.
*/
var localeObj = {
time: {
month: [
'Tháng 1',
'Tháng 2',
'Tháng 3',
'Tháng 4',
'Tháng 5',
'Tháng 6',
'Tháng 7',
'Tháng 8',
'Tháng 9',
'Tháng 10',
'Tháng 11',
'Tháng 12'
],
monthAbbr: [
'Th01',
'Th02',
'Th03',
'Th04',
'Th05',
'Th06',
'Th07',
'Th08',
'Th09',
'Th10',
'Th11',
'Th12'
],
dayOfWeek: [
'Chủ nhật',
'Thứ hai',
'Thứ ba',
'Thứ tư',
'Thứ năm',
'Thứ sáu',
'Thứ bảy'
],
dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
},
legend: {
selector: {
all: 'Tất cả',
inverse: 'Ngược lại'
}
},
toolbox: {
brush: {
title: {
rect: 'Chọn theo ô',
polygon: 'Chọn theo đường bất kỳ',
lineX: 'Chọn theo chiều ngang',
lineY: 'Chọn theo chiều dọc',
keep: 'Giữ đã chọn',
clear: 'Bỏ đã chọn'
}
},
dataView: {
title: 'Xem dữ liệu',
lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
},
dataZoom: {
title: {
zoom: 'Phóng to',
back: 'Bỏ phóng to'
}
},
magicType: {
title: {
line: 'Chuyển sang biểu đồ đường',
bar: 'Chuyển sang biểu đồ cột',
stack: 'Xếp chồng',
tiled: 'Lát'
}
},
restore: {
title: 'Khôi phục'
},
saveAsImage: {
title: 'Lưu thành ảnh',
lang: ['Bấm phải chuột để lưu ảnh']
}
},
series: {
typeNames: {
pie: 'Biều đồ tròn',
bar: 'Biểu đồ cột',
line: 'Biểu đồ đường',
scatter: 'Biểu đồ phân tán',
effectScatter: 'Biểu đồ gợn sóng',
radar: 'Biểu đồ Radar',
tree: 'Biểu đồ cây',
treemap: 'Sơ đồ cây',
boxplot: 'Biểu đồ hộp',
candlestick: 'Biều đồ nến',
k: 'Biểu đồ đường K',
heatmap: 'Bản đồ nhiệt',
map: 'Bản đồ',
parallel: 'Bản đồ tọa độ song song',
lines: 'Biểu đồ đường',
graph: 'Đồ thị quan hệ',
sankey: 'Sơ đồ dòng',
funnel: 'Biểu đồ hình phễu',
gauge: 'Biểu đồ cung tròn',
pictorialBar: 'Biểu diễn hình ảnh',
themeRiver: 'Bản đồ sông',
sunburst: 'Biểu đồ bậc'
}
},
aria: {
general: {
withTitle: 'Đây là biểu đồ "{title}"',
withoutTitle: 'Đây là biểu đồ'
},
series: {
single: {
prefix: '',
withName: ' với kiểu {seriesType} tên là {seriesName}.',
withoutName: ' với kiểu {seriesType}.'
},
multiple: {
prefix: '. Nó bao gồm {seriesCount} chuỗi.',
withName:
' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Dữ liệu như sau: ',
partialData: 'Các mục {displayCnt} đầu tiên là: ',
withName: 'dữ liệu cho {name} là {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: Vietnamese.
*/
var localeObj = {
time: {
month: [
'Tháng 1',
'Tháng 2',
'Tháng 3',
'Tháng 4',
'Tháng 5',
'Tháng 6',
'Tháng 7',
'Tháng 8',
'Tháng 9',
'Tháng 10',
'Tháng 11',
'Tháng 12'
],
monthAbbr: [
'Th01',
'Th02',
'Th03',
'Th04',
'Th05',
'Th06',
'Th07',
'Th08',
'Th09',
'Th10',
'Th11',
'Th12'
],
dayOfWeek: [
'Chủ nhật',
'Thứ hai',
'Thứ ba',
'Thứ tư',
'Thứ năm',
'Thứ sáu',
'Thứ bảy'
],
dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
},
legend: {
selector: {
all: 'Tất cả',
inverse: 'Ngược lại'
}
},
toolbox: {
brush: {
title: {
rect: 'Chọn theo ô',
polygon: 'Chọn theo đường bất kỳ',
lineX: 'Chọn theo chiều ngang',
lineY: 'Chọn theo chiều dọc',
keep: 'Giữ đã chọn',
clear: 'Bỏ đã chọn'
}
},
dataView: {
title: 'Xem dữ liệu',
lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
},
dataZoom: {
title: {
zoom: 'Phóng to',
back: 'Bỏ phóng to'
}
},
magicType: {
title: {
line: 'Chuyển sang biểu đồ đường',
bar: 'Chuyển sang biểu đồ cột',
stack: 'Xếp chồng',
tiled: 'Lát'
}
},
restore: {
title: 'Khôi phục'
},
saveAsImage: {
title: 'Lưu thành ảnh',
lang: ['Bấm phải chuột để lưu ảnh']
}
},
series: {
typeNames: {
pie: 'Biều đồ tròn',
bar: 'Biểu đồ cột',
line: 'Biểu đồ đường',
scatter: 'Biểu đồ phân tán',
effectScatter: 'Biểu đồ gợn sóng',
radar: 'Biểu đồ Radar',
tree: 'Biểu đồ cây',
treemap: 'Sơ đồ cây',
boxplot: 'Biểu đồ hộp',
candlestick: 'Biều đồ nến',
k: 'Biểu đồ đường K',
heatmap: 'Bản đồ nhiệt',
map: 'Bản đồ',
parallel: 'Bản đồ tọa độ song song',
lines: 'Biểu đồ đường',
graph: 'Đồ thị quan hệ',
sankey: 'Sơ đồ dòng',
funnel: 'Biểu đồ hình phễu',
gauge: 'Biểu đồ cung tròn',
pictorialBar: 'Biểu diễn hình ảnh',
themeRiver: 'Bản đồ sông',
sunburst: 'Biểu đồ bậc'
}
},
aria: {
general: {
withTitle: 'Đây là biểu đồ "{title}"',
withoutTitle: 'Đây là biểu đồ'
},
series: {
single: {
prefix: '',
withName: ' với kiểu {seriesType} tên là {seriesName}.',
withoutName: ' với kiểu {seriesType}.'
},
multiple: {
prefix: '. Nó bao gồm {seriesCount} chuỗi.',
withName:
' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Dữ liệu như sau: ',
partialData: 'Các mục {displayCnt} đầu tiên là: ',
withName: 'dữ liệu cho {name} là {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
echarts.registerLocale('VI', localeObj);
});
\ No newline at end of file
......@@ -159,6 +159,7 @@ var localeObj = {
}
}
};
for (var key in localeObj) {
if (localeObj.hasOwnProperty(key)) {
exports[key] = localeObj[key];
......
......@@ -159,6 +159,7 @@ var localeObj = {
}
}
};
echarts.registerLocale('ZH', localeObj);
});
\ No newline at end of file
{
"name": "echarts",
"version": "5.4.1",
"version": "5.4.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "echarts",
"version": "5.4.1",
"version": "5.4.2",
"license": "Apache-2.0",
"dependencies": {
"tslib": "2.3.0",
"zrender": "5.4.1"
"zrender": "5.4.3"
},
"devDependencies": {
"@babel/code-frame": "7.10.4",
......@@ -13341,9 +13341,9 @@
"optional": true
},
"node_modules/zrender": {
"version": "5.4.1",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.1.tgz",
"integrity": "sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==",
"version": "5.4.3",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.3.tgz",
"integrity": "sha512-DRUM4ZLnoaT0PBVvGBDO9oWIDBKFdAVieNWxWwK0niYzJCMwGchRk21/hsE+RKkIveH3XHCyvXcJDkgLVvfizQ==",
"dependencies": {
"tslib": "2.3.0"
}
......@@ -24154,9 +24154,9 @@
}
},
"zrender": {
"version": "5.4.1",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.1.tgz",
"integrity": "sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==",
"version": "5.4.3",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.3.tgz",
"integrity": "sha512-DRUM4ZLnoaT0PBVvGBDO9oWIDBKFdAVieNWxWwK0niYzJCMwGchRk21/hsE+RKkIveH3XHCyvXcJDkgLVvfizQ==",
"requires": {
"tslib": "2.3.0"
}
......
{
"name": "echarts",
"version": "5.4.1",
"version": "5.4.2",
"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": "5.4.1"
"zrender": "5.4.3"
},
"devDependencies": {
"@babel/code-frame": "7.10.4",
......
......@@ -253,7 +253,7 @@ class SunburstPiece extends graphic.Sector {
let rotate = 0;
if (rotateType === 'radial') {
rotate = normalizeRadian(-midAngle);
if (((rotate > Math.PI / 2 && rotate <= Math.PI * 1.5))) {
if (((rotate > Math.PI / 2 && rotate < Math.PI * 1.5))) {
rotate += Math.PI;
}
}
......
......@@ -137,10 +137,10 @@ declare let global: any;
type ModelFinder = modelUtil.ModelFinder;
export const version = '5.4.1';
export const version = '5.4.2';
export const dependencies = {
zrender: '5.4.1'
zrender: '5.4.3'
};
const TEST_FRAME_REMAIN_TIME = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册