Skip to content

Commit

Permalink
Release 4.2.1-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Feb 28, 2019
1 parent 76fabfa commit 1a2e990
Show file tree
Hide file tree
Showing 15 changed files with 219 additions and 13 deletions.
42 changes: 41 additions & 1 deletion dist/echarts-en.common.js
Expand Up @@ -17740,6 +17740,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -18977,7 +18978,45 @@ function capitalFirst(str) {

var truncateText$1 = truncateText;

var getTextRect = getBoundingRect;
/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/
function getTextBoundingRect(opt) {
return getBoundingRect(
opt.text,
opt.font,
opt.textAlign,
opt.textVerticalAlign,
opt.textPadding,
opt.textLineHeight,
opt.rich,
opt.truncate
);
}

/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/
function getTextRect(
text, font, textAlign, textVerticalAlign, textPadding, rich, truncate, textLineHeight
) {
return getBoundingRect(
text, font, textAlign, textVerticalAlign, textPadding, textLineHeight, rich, truncate
);
}


var format = (Object.freeze || Object)({
Expand All @@ -18991,6 +19030,7 @@ var format = (Object.freeze || Object)({
formatTime: formatTime,
capitalFirst: capitalFirst,
truncateText: truncateText$1,
getTextBoundingRect: getTextBoundingRect,
getTextRect: getTextRect
});

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts-en.common.min.js

Large diffs are not rendered by default.

42 changes: 41 additions & 1 deletion dist/echarts-en.js
Expand Up @@ -17796,6 +17796,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -19033,7 +19034,45 @@ function capitalFirst(str) {

var truncateText$1 = truncateText;

var getTextRect = getBoundingRect;
/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/
function getTextBoundingRect(opt) {
return getBoundingRect(
opt.text,
opt.font,
opt.textAlign,
opt.textVerticalAlign,
opt.textPadding,
opt.textLineHeight,
opt.rich,
opt.truncate
);
}

/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/
function getTextRect(
text, font, textAlign, textVerticalAlign, textPadding, rich, truncate, textLineHeight
) {
return getBoundingRect(
text, font, textAlign, textVerticalAlign, textPadding, textLineHeight, rich, truncate
);
}


var format = (Object.freeze || Object)({
Expand All @@ -19047,6 +19086,7 @@ var format = (Object.freeze || Object)({
formatTime: formatTime,
capitalFirst: capitalFirst,
truncateText: truncateText$1,
getTextBoundingRect: getTextBoundingRect,
getTextRect: getTextRect
});

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts-en.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts-en.min.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions dist/echarts-en.simple.js
Expand Up @@ -17383,6 +17383,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -18509,6 +18510,28 @@ function formatTime(tpl, value, isUTC) {

var truncateText$1 = truncateText;

/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/


/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts-en.simple.min.js

Large diffs are not rendered by default.

42 changes: 41 additions & 1 deletion dist/echarts.common.js
Expand Up @@ -17740,6 +17740,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -18977,7 +18978,45 @@ function capitalFirst(str) {

var truncateText$1 = truncateText;

var getTextRect = getBoundingRect;
/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/
function getTextBoundingRect(opt) {
return getBoundingRect(
opt.text,
opt.font,
opt.textAlign,
opt.textVerticalAlign,
opt.textPadding,
opt.textLineHeight,
opt.rich,
opt.truncate
);
}

/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/
function getTextRect(
text, font, textAlign, textVerticalAlign, textPadding, rich, truncate, textLineHeight
) {
return getBoundingRect(
text, font, textAlign, textVerticalAlign, textPadding, textLineHeight, rich, truncate
);
}


var format = (Object.freeze || Object)({
Expand All @@ -18991,6 +19030,7 @@ var format = (Object.freeze || Object)({
formatTime: formatTime,
capitalFirst: capitalFirst,
truncateText: truncateText$1,
getTextBoundingRect: getTextBoundingRect,
getTextRect: getTextRect
});

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.common.min.js

Large diffs are not rendered by default.

42 changes: 41 additions & 1 deletion dist/echarts.js
Expand Up @@ -17796,6 +17796,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -19033,7 +19034,45 @@ function capitalFirst(str) {

var truncateText$1 = truncateText;

var getTextRect = getBoundingRect;
/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/
function getTextBoundingRect(opt) {
return getBoundingRect(
opt.text,
opt.font,
opt.textAlign,
opt.textVerticalAlign,
opt.textPadding,
opt.textLineHeight,
opt.rich,
opt.truncate
);
}

/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/
function getTextRect(
text, font, textAlign, textVerticalAlign, textPadding, rich, truncate, textLineHeight
) {
return getBoundingRect(
text, font, textAlign, textVerticalAlign, textPadding, textLineHeight, rich, truncate
);
}


var format = (Object.freeze || Object)({
Expand All @@ -19047,6 +19086,7 @@ var format = (Object.freeze || Object)({
formatTime: formatTime,
capitalFirst: capitalFirst,
truncateText: truncateText$1,
getTextBoundingRect: getTextBoundingRect,
getTextRect: getTextRect
});

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.min.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions dist/echarts.simple.js
Expand Up @@ -17383,6 +17383,7 @@ var textStyleMixin = {
this.getShallow('align'),
this.getShallow('verticalAlign') || this.getShallow('baseline'),
this.getShallow('padding'),
this.getShallow('lineHeight'),
this.getShallow('rich'),
this.getShallow('truncateText')
);
Expand Down Expand Up @@ -18509,6 +18510,28 @@ function formatTime(tpl, value, isUTC) {

var truncateText$1 = truncateText;

/**
* @public
* @param {Object} opt
* @param {string} opt.text
* @param {string} opt.font
* @param {string} [opt.textAlign='left']
* @param {string} [opt.textVerticalAlign='top']
* @param {Array.<number>} [opt.textPadding]
* @param {number} [opt.textLineHeight]
* @param {Object} [opt.rich]
* @param {Object} [opt.truncate]
* @return {Object} {x, y, width, height, lineHeight}
*/


/**
* @deprecated
* the `textLineHeight` was added later.
* For backward compatiblility, put it as the last parameter.
* But deprecated this interface. Please use `getTextBoundingRect` instead.
*/

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.simple.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "echarts",
"version": "4.2.1-rc.2",
"version": "4.2.1-rc.3",
"description": "A powerful charting and visualization library for browser",
"keywords": [
"visualization",
Expand Down

0 comments on commit 1a2e990

Please sign in to comment.