You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using English in this issue. 在这个 Issue 中我使用了英文(强烈建议)。
General Questions
Required: I have read the document and examples and tried to solve it by myself. (必填)我读过了文档和教程,并且曾试图自己解决问题。
Required: I have searched for similar issues and that didn't help. (必填)我搜索过 issue 但是没有帮助。
Required: I have tried with the latest version of ECharts and still have this problem. (必填)我试过最新版本的 ECharts,还是存在这个问题。
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Required: issue type;(必填)issue 类型
Required: one sentence description in issue details;(必填)一句话的问题描述
Required: demo;(必填)能反映问题的例子(如果你想提问或报 bug)
Required: ECharts version;ECharts 版本
Issue Type
I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
I have a bug to report;我想要报 bug
I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
I have a feature to enhance, e.g.: The current feature should be improved in the way that ...;我希望改进某个功能
There's something wrong with the documents;文档有些问题
Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型
Issue Details
使用4.2.0rc2 时, brush只能选择到前400个点, 而使用3.8.5版本则可以正常工作.
when I use version 4.2.0rc2, the brush function just can selected first 400 points in dataIndex, but with version 3.8.5, it work right.
以上是使用4.2.0rc2版本, 但是只能选择到前400个点.
above is version 4.2.0rc2, it just can select first 400 points
以上是使用3.8.5, 这个可以正常的工作.
above is version 3.8.5, it work right
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
使用4.2.0rc2 时, brush只能选择到前400个点, 而使用3.8.5版本则可以正常工作.
when I use version 4.2.0rc2, the brush function just can selected first 400 points in dataIndex, but with version 3.8.5, it work right.
以上是使用4.2.0rc2版本, 但是只能选择到前400个点.
above is version 4.2.0rc2, it just can select first 400 points
以上是使用3.8.5, 这个可以正常的工作.
above is version 3.8.5, it work right
Expected Behavior
希望能像3.8.5一样工作
能够正确的选出范围中的点.
Current Behavior
Online Example
var option = {
animation: true,
title: {
backgroundColor: '#333',
text: default_title_text,
},
tooltip:{
show: true, trigger: 'item',
enterable: true, hideDelay: 150,
},
brush: {
toolbox: ["lineX", "lineY", "clear"],
throttleType: 'debounce',
throttleDelay: 300,
seriesIndex: 1, // "all",
inBrush: {color: "#FFAB91"},
outOfBrush: {colorAlpha: 0.1}
},
dataZoom: [
{type: "slider", orient: "horizontal"}, {type: "inside", orient: "horizontal"}
],
xAxis: {
name: "频率", scale: true, max: max_X, min: min_X,
},
yAxis: {
name: "电平", max: max_Y, min: min_Y,
},
series: [
// 第一组数据
{
name: "监测电平连线",
data: original_data["level"], // [[a1, a2], [a3, a4], ...]
type: 'line',
},
// 第二组数据
{
name: "监测电平点",
data: original_data["level"], // 希望brush出来的, want to be brush out, like [[a1, a2], [a3, a4], ...]
type: "scatter",
},
// 第三组数据
{
name: "告警频率点",
data: alert_signal_data_handler(alert_data, max_Y),
type: "scatter",
},
// 第四组数据
{
name: "信号频率点",
data: alert_signal_data_handler(signal_data, min_Y),
type: "scatter",
}
]
}
function renderBrushed(params) {
// brush事件, 这里将会进行一些简单的统计与计算
var brushComponent = params.batch[0]
var level_index = brushComponent.selected[1].dataIndex // 获取series[1]
...do something
}
以上是我部分相关option配置
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: {4.2.0rc2}
It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}
The text was updated successfully, but these errors were encountered: