ant-design-charts
ant-design-charts copied to clipboard
使用折线图line多条线legend出现分页后文字展示不全
这里legend分页后 文案顶部被遮挡了部分 请问这里有办法解决吗
const config = {
data: [],
height: 240,
// smooth: true,
xField: 'x_value',
yField: 'y_value',
seriesField: 'category',
tooltip: {
formatter: (tipData: any) => {
return ({
name: tipData.category ? tipData.category : '巡检值',
value: toKSeperator(tipData.y_value)
})
},
},
xAxis: {
range: [0, 1],
},
appendPadding: [8, 0, 8, 0],
// legend: {
// position: 'bottom',
// navOrient:'vertical'
// },
};