[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha" //*问题描述** } ``` 非常感谢。是否可以简单的理解为formatter返回的DOM和当前页面中的DOM不属于同一个document对象? This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` 又试了下改成这样可以了 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388599075 确实可以了,但是haha(args)不能接收参数。 ```javascript formatter: function(prams) { //*问题描述** let arg = 10 return "haha"//提示arg没有定义 return "haha"//可以接收到 //*问题描述** } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] IdenPin closed issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值
IdenPin closed issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值 URL: https://github.com/apache/incubator-echarts/issues/8266 This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] IdenPin commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值
IdenPin commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值 URL: https://github.com/apache/incubator-echarts/issues/8266#issuecomment-388591624 @cag2050 感谢 This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] pchaganti commented on issue #8331: Suggestions for clearing and redrawing a chart?
pchaganti commented on issue #8331: Suggestions for clearing and redrawing a chart? URL: https://github.com/apache/incubator-echarts/issues/8331#issuecomment-388579207 While making that fiddle, found the issue. It was a typo. thanks! This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8264: echarts 视觉映射后,导致散点图(effectScatter) 无法设置 itemStyle > color
100pah commented on issue #8264: echarts 视觉映射后,导致散点图(effectScatter) 无法设置 itemStyle > color URL: https://github.com/apache/incubator-echarts/issues/8264#issuecomment-388577976 (1)visualMap 中可设置 seriesIndex 限定影响范围 (2)可设置 series data 上设置 visualMap: false,在此数据项上禁用 visualMap ```js series: { data: [ [12, 33], [1,23], [22, 55], { value: [23,51], visualMap: false }, [23, 53], [11,44], ... } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8288: Google charts: timelines [question]
100pah commented on issue #8288: Google charts: timelines [question] URL: https://github.com/apache/incubator-echarts/issues/8288#issuecomment-388576765 @giorgiopagnoni ye, I will fix the example. This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8328: 雷达图axisLabel显示报错
100pah commented on issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328#issuecomment-388576361 谢谢。并没有支持 radar.axisLabel.show: true。 我将修改下文档。 有需要支持这件事么? This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8329: 雷达图的指示器文本配置
100pah commented on issue #8329: 雷达图的指示器文本配置 URL: https://github.com/apache/incubator-echarts/issues/8329#issuecomment-388576256 我用 4.1.0 尝试,直接 `radar.name.color` 是可以生效的。 This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8330: tooltip中关于formatter生成链接的问题
100pah commented on issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330#issuecomment-388576038 改成这个试试 ```js window.haha = function (){ console.log('haha') } ``` This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] 100pah commented on issue #8331: Suggestions for clearing and redrawing a chart?
100pah commented on issue #8331: Suggestions for clearing and redrawing a chart? URL: https://github.com/apache/incubator-echarts/issues/8331#issuecomment-388575773 Could I have your `option` to reproduce the issue. This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] pchaganti opened a new issue #8331: Suggestions for clearing and redrawing a chart?
pchaganti opened a new issue #8331: Suggestions for clearing and redrawing a chart? URL: https://github.com/apache/incubator-echarts/issues/8331 ### One-line summary [问题简述] Unable to reset a chart with newly retrieved dynamic data. Tried setOption(true). Still leaves the old data in there. Anyone have any suggestions or pointers to how to accomplish this? thanks ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: 4.1 + Browser version [浏览器类型和版本]: + OS Version [操作系统类型和版本]: ### Expected behaviour [期望结果] ### ECharts option [ECharts配置项] ```javascript option = { } ``` ### Other comments [其他信息] This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] pchaganti commented on issue #8157: how do I clear a chart? Basically I need to re-initialize it.
pchaganti commented on issue #8157: how do I clear a chart? Basically I need to re-initialize it. URL: https://github.com/apache/incubator-echarts/issues/8157#issuecomment-388565090 setOption(newOption, true) is still leaving old data on the chart. This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] pchaganti commented on issue #6202: Problems when updating chart through echartsInstance.setOption()
pchaganti commented on issue #6202: Problems when updating chart through echartsInstance.setOption() URL: https://github.com/apache/incubator-echarts/issues/6202#issuecomment-388564724 setOption() is still leaving the old data on the chart BTW. This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] pchaganti commented on issue #6202: Problems when updating chart through echartsInstance.setOption()
pchaganti commented on issue #6202: Problems when updating chart through echartsInstance.setOption() URL: https://github.com/apache/incubator-echarts/issues/6202#issuecomment-388564522 This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] miniboxhaha opened a new issue #8330: tooltip中关于formatter生成链接的问题
miniboxhaha opened a new issue #8330: tooltip中关于formatter生成链接的问题 URL: https://github.com/apache/incubator-echarts/issues/8330 tooltip中关于formatter生成链接的问题。请问如何在formatter中返回一个js方法的链接? ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]:3.x + Browser version [浏览器类型和版本]:chrome + OS Version [操作系统类型和版本]:windows 7 ### Expected behaviour [期望结果] 请问formatter返回结果中,是否可以响应鼠标事件并执行一个js方法。 ### ECharts option [ECharts配置项] ```javascript option = { tooltip:{ formatter:funciton(params){ return "goto_Target" //有效,但会进行整个窗口的跳转 return "goto_Target" //提示没有target()方法 return "goto_Target" //会在显示formatter的同时执行target方法 } } } ``` ### Other comments [其他信息] This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] cn-xufei opened a new issue #8329: 雷达图的指示器文本配置
cn-xufei opened a new issue #8329: 雷达图的指示器文本配置 URL: https://github.com/apache/incubator-echarts/issues/8329 ### One-line summary [问题简述] 官网上的雷达图的文本配置是:radar.name.color 然而实际生效的是radar.name.textStyle.color 需要加一层textStyle ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: 4.1.0 + Browser version [浏览器类型和版本]: Chrome 66 + OS Version [操作系统类型和版本] :win 10 ### Expected behaviour [期望结果] 希望可以按官网配置项那样,直接在name对象中对文本的颜色字体大小等进行配置 ### ECharts option [ECharts配置项] ```javascript option = { title: { text: '自定义雷达图' }, legend: { data: ['图一','图二', '张三', '李四'] }, radar: [ { indicator: [ { text: '指标一' }, { text: '指标二' }, { text: '指标三' }, { text: '指标四' }, { text: '指标五' } ], center: ['25%', '50%'], radius: 120, startAngle: 90, splitNumber: 4, shape: 'circle', name: { color: 'red', formatter:'【{value}】', textStyle: { color:'#72ACD1' } }, splitArea: { areaStyle: { color: ['rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.6)', 'rgba(114, 172, 209, 0.8)', 'rgba(114, 172, 209, 1)'], shadowColor: 'rgba(0, 0, 0, 0.3)', shadowBlur: 10 } }, axisLine: { lineStyle: { color: 'rgba(255, 255, 255, 0.5)' } }, splitLine: { lineStyle: { color: 'rgba(255, 255, 255, 0.5)' } } }, { indicator: [ { text: '语文', max: 150 }, { text: '数学', max: 150 }, { text: '英语', max: 150 }, { text: '物理', max: 120 }, { text: '化学', max: 108 }, { text: '生物', max: 72 } ], center: ['75%', '50%'], radius: 120 } ], series: [ { name: '雷达图', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 4 } } }, data: [ { value: [100, 8, 0.40, -80, 2000], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'dashed' } } }, { value: [60, 5, 0.30, -100, 1500], name: '图二', areaStyle: { normal: { color: 'rgba(255, 255, 255, 0.5)' } } } ] }, { name: '成绩单', type: 'radar', radarIndex: 1, data: [ { value: [120, 118, 130, 100, 99, 70], name: '张三', label: { normal: { show: true, formatter:function(params) { return params.value; } } } }, { value: [90, 113, 140, 30, 70, 60], name: '李四', areaStyle: { normal: { opacity: 0.9, color: new echarts.graphic.RadialGradient(0.5, 0.5, 1, [ { color: '#B8D3E4', offset: 0 }, { color: '#72ACD1', offset: 1 } ]) } } } ] } ] }
[GitHub] cn-xufei opened a new issue #8328: 雷达图axisLabel显示报错
cn-xufei opened a new issue #8328: 雷达图axisLabel显示报错 URL: https://github.com/apache/incubator-echarts/issues/8328 ### One-line summary [问题简述] radar中的axisLabel标签配置如果是show: true,会报错:e.getCategories is not a function ### Version & Environment [版本及环境] + ECharts version [ECharts 版本]: 4.x + Browser version [浏览器类型和版本]:Chrome 66 + OS Version [操作系统类型和版本]: win10 ### Expected behaviour [期望结果] 希望能正常显示 ### ECharts option [ECharts配置项] ```javascript option = { title: { text: '自定义雷达图' }, legend: { }, radar: [ { axisLabel: { show: true }, indicator: [ { text: '语文', max: 150 }, { text: '数学', max: 150 }, { text: '英语', max: 150 }, { text: '物理', max: 120 }, { text: '化学', max: 108 }, { text: '生物', max: 72 } ], center: ['50%', '50%'], radius: 120 } ], series: { type: 'radar', data: [ { value: [120, 118, 130, 100, 99, 70], name: '张三', label: { normal: { show: true, formatter:function(params) { return params.value; } } } }, { value: [90, 113, 140, 30, 70, 60], name: '李四', areaStyle: { normal: { opacity: 0.9, color: new echarts.graphic.RadialGradient(0.5, 0.5, 1, [ { color: '#B8D3E4', offset: 0 }, { color: '#72ACD1', offset: 1 } ]) } } } ] } } ``` ### Other comments [其他信息] ![image](https://user-images.githubusercontent.com/14144811/39955651-208a6492-5605-11e8-9105-adb6d609fd04.png) This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] cag2050 commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值
cag2050 commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值 URL: https://github.com/apache/incubator-echarts/issues/8266#issuecomment-388538091 @IdenPin 可能原因:返回后,地图里没有填充数据的,点击时无法获得正确的 event.name 值。 你看看是不是这个原因? demo 地址:https://github.com/cag2050/vue_echarts_v3_demo This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org
[GitHub] cag2050 commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值
cag2050 commented on issue #8266: echarts3.8.5 + vue 2.0 实现Map地图下钻,市级click事件偶尔无法获取点击json里面的name属性值 URL: https://github.com/apache/incubator-echarts/issues/8266#issuecomment-388538091 @IdenPin 可能原因:地图里没有填充数据的,点击时无法获得 event.name 值。 你看看是不是这个原因? This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org