[Bug] How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Đang mở
#21,549 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
data-visualization

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện cấu hình axisPointer và line-series được cung cấp trong một ví dụ Apache ECharts tối thiểu; issue không nêu tệp repository hoặc test nào. Kiểm tra thứ tự render của series được nhấn mạnh, axisPointer và areaStyle, sau đó ghi lại hoặc xác minh cấu hình tạo ra hệ phân cấp được yêu cầu và thêm một regression test nếu có test render hiện có bao quát hành vi này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug en pending
Version

5.4.3

Link to Minimal Reproduction

see code

Steps to Reproduce

axisPointer: {
type: 'line',
lineStyle: {
color: colorMap['fill-4-bg'],
width: 2,
type: 'solid',
},
},
series: [
{
type: 'line',
smooth: true,
symbol: 'none',
symbolSize: 0,
emphasis: {
symbolSize: 10,
itemStyle: {
color: colorMap['main-1-cl'],
borderWidth: 2,
borderColor: colorMap['main-1-cl'],
},
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{ offset: 0, color: colorMap['main-1-cl'] },
{ offset: 1, color: 'transparent' },
],
},
},
},
]

Current Behavior

How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Expected Behavior

How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Environment
- OS:macOS
- Browser:Chrome 145
- Framework:vue 2
Any additional comments?
Version

5.4.3

Link to Minimal Reproduction

see code

Steps to Reproduce

axisPointer: {
type: 'line',
lineStyle: {
color: colorMap['fill-4-bg'],
width: 2,
type: 'solid',
},
},
series: [
{
type: 'line',
smooth: true,
symbol: 'none',
symbolSize: 0,
emphasis: {
symbolSize: 10,
itemStyle: {
color: colorMap['main-1-cl'],
borderWidth: 2,
borderColor: colorMap['main-1-cl'],
},
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{ offset: 0, color: colorMap['main-1-cl'] },
{ offset: 1, color: 'transparent' },
],
},
},
},
]

How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Current Behavior

How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Expected Behavior

How to make the hierarchy of emphasis in series above the axisPointer, while the axisPointer is above the series.areaStyle

Environment
- OS:macOS
- Browser:Chrome 145
- Framework:vue 2
Any additional comments?

No response

Ngôn ngữ chính
TypeScript
Star
67.7k
Fork
19.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/echarts

Tất cả issue của apache/echarts

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.