What problem does this feature solve?
In some cases, containLable
is only expected to work on one of xAxis or YAxis.
grid.containLabel
could be more flexiable to be configurated for xAxis and yAxis separately.
What does the proposed API look like?
grid.containLabel
: boolean | { top: boolean; right: boolean; bottom: boolean; left: boolean }
grid: {
containLabel: {
top: true,
right: true,
// bottom: false as default
// left: false as default
}
}
2条答案
按热度按时间am46iovg1#
This issue is labeled with
difficulty: easy
.@zhiyuc123 Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
Please have a look at How to debug ECharts if you'd like to give a try. 🤓
mv1qrgav2#
I'm interested in fixing this issue.