You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by fazus kazoo <fa...@gmail.com> on 2020/07/01 14:14:55 UTC
ECharts redraw on resize
I am new to ECharts and trying to get the same redraw effect as your
examples in Documents.
How is the bar graph in "Get Started with ECharts in 5 minutes" rendered?
Thanks,
Fazus
Re: ECharts redraw on resize
Posted by fazus kazoo <fa...@gmail.com>.
Thank you so much!
On Wed, Jul 1, 2020 at 8:11 PM plainheart <yh...@all-my-life.cn> wrote:
> Hi, welcome to use ECharts!
>
>
>
> I’m sorry for showing Chinese buttons in English tutorial. There are two
> buttons with Chinese text at the bottom of the bar graph, they are `重置`(reset)
> and `编辑示例`(edit). You can click the button `编辑示例` to see and edit its
> source code.
>
>
>
>
>
>
>
> Thanks,
>
> Zhongxiang.
>
Re: ECharts redraw on resize
Posted by plainheart <yh...@all-my-life.cn>.
Hi, welcome to use ECharts!
I’m sorry for showing Chinese buttons in English tutorial. There are two buttons with Chinese text at the bottom of the bar graph, they are `重置`(reset) and `编辑示例`(edit). You can click the button `编辑示例` to see and edit its source code.
Thanks,
Zhongxiang.
Re: ECharts redraw on resize
Posted by fazus kazoo <fa...@gmail.com>.
Thanks a lot!
On Thu, Jul 2, 2020 at 10:55 PM Ovilia <ov...@gmail.com> wrote:
> Hi,
>
> Please listen to the resize event of parent div and call chart.resize().
>
> Thanks
>
> *Ovilia*
>
>
> On Fri, Jul 3, 2020 at 3:16 AM fazus kazoo <fa...@gmail.com> wrote:
>
>> Is there a means of zooming in on a pie chart?
>>
>> I have implemented the redraw on window.onresize event, but I'd like to
>> enlarge the parent div or zoom in and
>> have it redraw itself.
>>
>> Thanks,
>>
>>
>>
>> On Wed, Jul 1, 2020 at 10:14 AM fazus kazoo <fa...@gmail.com> wrote:
>>
>> > I am new to ECharts and trying to get the same redraw effect as your
>> > examples in Documents.
>> >
>> > How is the bar graph in "Get Started with ECharts in 5 minutes"
>> rendered?
>> >
>> > Thanks,
>> >
>> > Fazus
>> >
>>
>
Re: ECharts redraw on resize
Posted by Ovilia <ov...@gmail.com>.
Hi,
Please listen to the resize event of parent div and call chart.resize().
Thanks
*Ovilia*
On Fri, Jul 3, 2020 at 3:16 AM fazus kazoo <fa...@gmail.com> wrote:
> Is there a means of zooming in on a pie chart?
>
> I have implemented the redraw on window.onresize event, but I'd like to
> enlarge the parent div or zoom in and
> have it redraw itself.
>
> Thanks,
>
>
>
> On Wed, Jul 1, 2020 at 10:14 AM fazus kazoo <fa...@gmail.com> wrote:
>
> > I am new to ECharts and trying to get the same redraw effect as your
> > examples in Documents.
> >
> > How is the bar graph in "Get Started with ECharts in 5 minutes" rendered?
> >
> > Thanks,
> >
> > Fazus
> >
>
Re: ECharts redraw on resize
Posted by fazus kazoo <fa...@gmail.com>.
Is there a means of zooming in on a pie chart?
I have implemented the redraw on window.onresize event, but I'd like to
enlarge the parent div or zoom in and
have it redraw itself.
Thanks,
On Wed, Jul 1, 2020 at 10:14 AM fazus kazoo <fa...@gmail.com> wrote:
> I am new to ECharts and trying to get the same redraw effect as your
> examples in Documents.
>
> How is the bar graph in "Get Started with ECharts in 5 minutes" rendered?
>
> Thanks,
>
> Fazus
>