Is there any way to show the formatted data instead of the raw data in the generated description? (aria-label, accessibility)
Here is an example:
option = {
aria: {
enabled: true,
},
title: {
text: '某站点用户访问来源',
left: 'center'
},
series: [
{
label: { formatter: '{d}%'},
name: '访问来源',
type: 'pie',
data: [
{ value: 335, name: '直接访问' },
{ value: 310, name: '邮件营销' },
{ value: 234, name: '联盟广告' },
{ value: 135, name: '视频广告' },
{ value: 1548, name: '搜索引擎' }
]
}
]
};
This is how the chart looks like: pie chart with formatted data and the generated description: generated aria-label
Link to the echarts editor: