You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by 王震-胜利油田 <wa...@sinopec.com> on 2021/01/08 03:00:16 UTC
5.0的一个BUG
endLabel的offset不起作用
https://echarts.apache.org/next/examples/zh/editor.html?c=line-simple
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
endLabel: {
show: true,
color: 'gray',
distance: -1,
offset:[100,200]
}
}]
};
2、
Re: 5.0的一个BUG
Posted by Ovilia <ov...@gmail.com>.
Hi,
Thanks for reporting. We are fixing this in PR
https://github.com/apache/incubator-echarts/pull/13896 .
Thanks
*Ovilia*
On Fri, Jan 8, 2021 at 2:05 PM 王震-胜利油田 <wa...@sinopec.com> wrote:
> endLabel的offset不起作用
> https://echarts.apache.org/next/examples/zh/editor.html?c=line-simple
> option = {
> xAxis: {
> type: 'category',
> data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
> },
> yAxis: {
> type: 'value'
> },
> series: [{
> data: [150, 230, 224, 218, 135, 147, 260],
> type: 'line',
> endLabel: {
> show: true,
> color: 'gray',
> distance: -1,
> offset:[100,200]
>
> }
> }]
> };
> 2、
>