More than diagram with tab function

hi, i want ask about how to create double diagram after we have tab content with single variable, I mean like this picture

First

Second

I have try with code but i can’t two add diagram at other tab?

thanks

Are you trying to have a different Diagram inside each tab-pane? I think having the same id for both Diagrams is a serious problem.

Yes right, I want to add diagram with same as id, do you have solution or suggest if that a serious problem walter??

Obviously you cannot use getElementById, so you cannot refer to the Div by name. You’ll need to find the Div by other means and pass the Div (not the name) to the Diagram constructor or the Diagram.div property setter.

ok thanks walter i will try it.