antvis / antvis/G2

series mark 的 highlight background 渲染不正常

Open
#5,168 0 comments 0 reactions 1 assignee Claimed by @pearmini View on GitHub
v5
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

- 版本:5.0.11

```js
import { Chart } from '@antv/g2';

const chart = new Chart({
container: 'container',
});

chart.options({
type: 'line',
padding: 'auto',
theme: 'classic',
data: [
{
城市名称: '黔西南布依族苗族自治州',
'最低总价(元)': 60000,
},
{
城市名称: '濮阳市',
'最低总价(元)': 60000,
},
{
城市名称: '临沂市',
'最低总价(元)': 80000,
},
],
encode: {
x: '城市名称',
y: '最低总价(元)',
},
interaction: {
elementHighlight: {
background: true,
},
},
});

chart.render();
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.