ngx-echarts icon indicating copy to clipboard operation
ngx-echarts copied to clipboard

Use with bootstrap Tabs

Open Velocity540 opened this issue 5 years ago • 3 comments

are there any examples of using this library inside bootstrap tabs? I am currently able to create several charts, but once I place one inside of a tab I cannot get it to work

Velocity540 avatar Nov 21 '18 18:11 Velocity540

@Velocity540 Please refer to my online demo. I create charts inside bootstrap tabs.

xieziyu avatar Nov 22 '18 01:11 xieziyu

Thank you for your reply. I am not sure I see a sample. I do see you are doing your charts inside tabs, but im not sure how. I am able to get eCharts to work if I destroy the chart when you tab "off" the tab with charts and I have to re-create the chart when you "tab" on the tab with charts. But this is done using the DOM and jQuery, I am not sure how to do it with ngx-echarts.

By the way, awesome project. Everything else seems to work fantastic. using over 50 charts in production right now

Velocity540 avatar Nov 22 '18 13:11 Velocity540

@Velocity540 Thanks. I'm using TabsModule from ngx-bootstrap without jQuery. I think you can try it too.

xieziyu avatar Nov 23 '18 11:11 xieziyu