[GitHub] [incubator-echarts] stale[bot] closed issue #8746: datazoom滑动停止参数
stale[bot] closed issue #8746: URL: https://github.com/apache/incubator-echarts/issues/8746 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] JohnnyZhang0628 commented on issue #5558: Echarts饼图可以自己设置每个小扇形的半径大小吗?
JohnnyZhang0628 commented on issue #5558: URL: https://github.com/apache/incubator-echarts/issues/5558#issuecomment-667622753 @lianduy 我是通过自定义自己画的扇形,目前Echarts不支持,只能自定义,自己画了。 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] LiShengc opened a new issue #13068: How to use visualMap to control two or more series at the same time
LiShengc opened a new issue #13068: URL: https://github.com/apache/incubator-echarts/issues/13068 Please help me. How to use visualMap to control the display of two series named Target at the same time without affecting other series, use one controller to control these two targets? Specifying two seriesIndex in visualMap will create two controllers, which I don't want to see. ``` series: [{ name: 'AP', type: 'scatter3D', data: mydataset, symbol: 'triangle', symbolSize: 30, color: '#000', itemStyle: { borderColor: '#fff', borderWidth: 2, }, }, { name: 'hidden', type: 'bar3D', stack: 'stack', data: floor1.map(function (item, idx) { return [floor1[0], floor1[1], 1] }), barSize: [10, 10], itemStyle: { opacity: 0, }, }, { name: 'Target', data: floor1, type: 'bar3D', stack: 'stack', barSize: [10, 10], itemStyle: { opacity: 0.6, } }, { name: 'hidden', type: 'bar3D', stack: 'stack', data: floor2.map(function (item, idx) { return [floor2[0], floor2[1], 5 - bar_height, floor2[3]] }), barSize: [10, 10], itemStyle: { opacity: 0, }, }, { name: 'Target', type: 'bar3D', stack: 'stack', data: floor2, barSize: [10, 10], itemStyle: { opacity: 0.6, }, }] ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13068: How to use visualMap to control two or more series at the same time
echarts-bot[bot] commented on issue #13068: URL: https://github.com/apache/incubator-echarts/issues/13068#issuecomment-667611104 This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. Sorry for this, but it helps save our maintainers' time so that more developers get helped. Feel free to create another issue using the issue template. If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again. 这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。 为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。 如果您愿意,可以请使用 issue 模板重新创建 issue。 如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8765: TimeLine is possible?
stale[bot] closed issue #8765: URL: https://github.com/apache/incubator-echarts/issues/8765 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] susiwen8 closed issue #7968: 堆叠图tooltip显示与图表的顺序不一致
susiwen8 closed issue #7968: URL: https://github.com/apache/incubator-echarts/issues/7968 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8763: Should be an option to show hidden x axis label when overlapped
stale[bot] closed issue #8763: URL: https://github.com/apache/incubator-echarts/issues/8763 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] ChenJiaH commented on issue #13058: Legend中的字体大小设置失效
ChenJiaH commented on issue #13058: URL: https://github.com/apache/incubator-echarts/issues/13058#issuecomment-667540947 > 应该是个bug。似乎是全局的 `textStyle` 影响了 `legend` 的 `textStyle`,暂时可以先去掉全局的 `textStyle` 配置来规避这个问题。 嗯,还发现了一个全局影响的问题。等忙完这几天我提个pr处理下~ This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] susiwen8 opened a new pull request #13067: Optimize: disable tooltip transition at first show
susiwen8 opened a new pull request #13067: URL: https://github.com/apache/incubator-echarts/pull/13067 ## Brief Information This pull request is in the type of: - [ ] bug fixing - [ ] new feature - [x] others ### What does this PR do? The first time of showing `tooltip` on each chart, because of `transition`, `tooltip` rise from the bottom. So disable transition on the first time ### Fixed issues ## Details ### Before: What was the problem? ### After: How is it fixed in this PR? ## Usage ### Are there any API changes? - [ ] The API has been changed. ### Related test cases or examples to use the new APIs NA. ## Others ### Merging options - [ ] Please squash the commits into a single one when merge. ### Other information This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] echarts-bot[bot] commented on pull request #13067: Optimize: disable tooltip transition at first show
echarts-bot[bot] commented on pull request #13067: URL: https://github.com/apache/incubator-echarts/pull/13067#issuecomment-667512890 Thanks for your contribution! The community will review it ASAP. In the meanwhile, please checkout [the coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki about [How to make a pull request](https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request). This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8738: 地图下钻时,出现自动刷新跳转到顶级地图
stale[bot] closed issue #8738: URL: https://github.com/apache/incubator-echarts/issues/8738 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8753: datazoom事件发送多个请求
stale[bot] closed issue #8753: URL: https://github.com/apache/incubator-echarts/issues/8753 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8744: 折线图如何显示2个 axisPointer
stale[bot] closed issue #8744: URL: https://github.com/apache/incubator-echarts/issues/8744 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8780: x轴 showMinLabel 会隐藏第二个坐标轴问题
stale[bot] commented on issue #8780: URL: https://github.com/apache/incubator-echarts/issues/8780#issuecomment-667497706 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8784: URL for the API documentation, chart documentation and change log is incorrect.
stale[bot] commented on issue #8784: URL: https://github.com/apache/incubator-echarts/issues/8784#issuecomment-667497720 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8790: 柱状图bug
stale[bot] commented on issue #8790: URL: https://github.com/apache/incubator-echarts/issues/8790#issuecomment-667497709 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8751: legend location
stale[bot] closed issue #8751: URL: https://github.com/apache/incubator-echarts/issues/8751 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8719: 官方示例当中的柱状图,添加 Y 轴的 min 值之后,图形向下溢出,如何隐藏掉溢出的部分
stale[bot] commented on issue #8719: URL: https://github.com/apache/incubator-echarts/issues/8719#issuecomment-667497693 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8505: 如何用代码控制缩放模式开启
stale[bot] commented on issue #8505: URL: https://github.com/apache/incubator-echarts/issues/8505#issuecomment-667497718 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8739: 散点图在X轴为时间类型时,tooltips不正常
stale[bot] closed issue #8739: URL: https://github.com/apache/incubator-echarts/issues/8739 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8375: 柱状图x轴的interval属性设置为0时无效
stale[bot] commented on issue #8375: URL: https://github.com/apache/incubator-echarts/issues/8375#issuecomment-667497688 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] closed issue #8756: Uncaught TypeError: Cannot read property 'cloneShallow' of undefined
stale[bot] closed issue #8756: URL: https://github.com/apache/incubator-echarts/issues/8756 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8731: 图例分页bug
stale[bot] commented on issue #8731: URL: https://github.com/apache/incubator-echarts/issues/8731#issuecomment-667497699 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] stale[bot] commented on issue #8786: echarts地图(map)怎么不让它显示地图外面的点(scatter)
stale[bot] commented on issue #8786: URL: https://github.com/apache/incubator-echarts/issues/8786#issuecomment-667497714 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[incubator-echarts-doc] branch master updated: fix: doc source change from json js
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new 885aff3 fix: doc source change from json js 885aff3 is described below commit 885aff37a7d20a6b036a3aac787573f6d585f22d Author: pissang AuthorDate: Sat Aug 1 16:09:09 2020 +0800 fix: doc source change from json js --- build.js | 32 ++-- src/docHelper.js | 29 ++--- src/shared.js| 10 ++ 3 files changed, 50 insertions(+), 21 deletions(-) diff --git a/build.js b/build.js index ef9f9e4..10ece37 100644 --- a/build.js +++ b/build.js @@ -25,6 +25,8 @@ const path = require('path'); const assert = require('assert'); const chokidar = require('chokidar'); const debounce = require('lodash.debounce'); +const {getDocJSONPVarNname} = require('./src/shared'); +const { basename } = require('path'); const projectDir = __dirname; @@ -171,7 +173,6 @@ async function run() { console.log('Error happens when copying to dest folders.'); console.log(e); } -// copyBlog(); } console.log('All done.'); @@ -231,14 +232,6 @@ function copySite() { console.log('Copy site done.'); } -function copyBlog() { -const blogSrcDir = path.resolve(projectDir, 'blog'); -const blogDestDir = path.resolve(config.releaseDestDir, 'blog'); -fse.copySync(blogSrcDir, blogDestDir); -console.log(chalk.green(`blog copied to: ${blogDestDir}`)); -console.log('Copy blog done.'); -} - function writeSingleSchema(schema, language, docName, format) { const destPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}.json`); fse.ensureDirSync(path.dirname(destPath)); @@ -253,14 +246,22 @@ function writeSingleSchema(schema, language, docName, format) { function writeSingleSchemaPartioned(schema, language, docName, format) { const {outline, descriptions} = extractDesc(schema, docName); -const outlineDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${docName}-outline.json`); +function convertToJS(basename, filePath) { +const content = fs.readFileSync(filePath, 'utf-8'); +const varName = getDocJSONPVarNname(basename); +const code = `window.${varName} = ${content}`; +fs.writeFileSync(filePath.replace(/\.json$/, '.js'), code, 'utf-8'); +} + +const outlineBasename = `${docName}-outline.json`; +const outlineDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${outlineBasename}`); fse.ensureDirSync(path.dirname(outlineDestPath)); fse.outputFile( outlineDestPath, format ? JSON.stringify(outline, null, 2) : JSON.stringify(outline), 'utf-8' ); -// console.log(chalk.green('generated: ' + outlineDestPath)); +convertToJS(outlineBasename, outlineDestPath); function copyUIControlConfigs(source, target) { for (let key in source) { @@ -290,15 +291,18 @@ function writeSingleSchemaPartioned(schema, language, docName, format) { } function writeOptionDesc(language, partKey, json) { -const descDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${partKey}.json`); +const descBasename = `${partKey}.json`; +const descDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${descBasename}`); fse.ensureDirSync(path.dirname(descDestPath)); - +const content = JSON.stringify(json, null, 2); fse.outputFile( descDestPath, // format ? JSON.stringify(partDescriptions, null, 2) : JSON.stringify(partDescriptions), -JSON.stringify(json, null, 2), +content, 'utf-8' ); +// Convnert to JS +convertToJS(descBasename, descDestPath); } for (let partKey in descriptions) { diff --git a/src/docHelper.js b/src/docHelper.js index ccd02ee..a9c1357 100644 --- a/src/docHelper.js +++ b/src/docHelper.js @@ -1,9 +1,10 @@ // Global doc schema manager. // Not in the vue observer. -import {fetch} from 'whatwg-fetch'; +// import {fetch} from 'whatwg-fetch'; // import levenshtein from 'js-levenshtein'; // stringSimilarity has better result than levenshtein when handling typo import { stringSimilarity } from 'string-similarity-js'; +import {getDocJSONPVarNname} from './shared'; // import stripHtml from 'string-strip-html'; // import Fuse from 'fuse.js'; @@ -23,6 +24,24 @@ let pageOutlines; let outlineNodesMap = {}; let allNodesPaths = []; +function fetchDocContentJS(basename) { +return new Promise(function (resolve, reject) { +const varname = getDocJSONPVarNname(basename); +const url =
[incubator-echarts-doc] branch next created (now 92f689d)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git. at 92f689d Merge pull request #126 from psimyn/patch-1 No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org