Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Muliple SPC Javascript controls

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
wryates Posted - 05 Aug 2014 : 09:24:54
Is it possible to add more than once SPC Javascript control to the same page?

I am trying to display a TabControl on a page and each tab have a different SPC Chart type.

Thanks,
Russ
2   L A T E S T    R E P L I E S    (Newest First)
wryates Posted - 05 Aug 2014 : 15:50:26
Thanks, this is what i was thinking of doing but thought id ask if there was another way of doing this. But this works!
quinncurtis Posted - 05 Aug 2014 : 10:44:41
We experimented with supporting multiple SPC charts in a GWT-supported Tab control in a single HTML page. We decided against it because it just got to complicated to for an average programmer to interact with the tab control, and to/from the different chart pages. For that reason we focused the design of the software to output one of our standard SPC charts to a single HTML page.

However, if you want to create your own HTML page, which hosts some sort of home-brew tab control (there isn't an HTML standard that we see), you can add multiple instances of our SPC charts to that HTML page easy enough. Just create each SPC chart in a separate HTML page, exactly like our simple examples (SPCSimple.html in combination with chartDefSimple.js for example). You would end up with multiple HTML files: SPCSimple1.HTM, SPCSimple2.html, SPCSimple3.html, etc. Then, reference each of these HTML file in a separate HTML IFRAME tag, placed in the content sections of your TAB control. Once instance of a tag would look something like:

<iframe src="SPCSimple1.html" width="1000" height="800"></></iframe>

Each source SPC chart HTML page essentially becomes a child of the parent HTML page. The exact details depend entirely on your implementation of the TAB control.

This applies to any type of HTML page where you want to embed multiple SPC charts in a single HTML page, not just just some sort of tab contrl. So you could stack them one above the other, or in a grid, or using some other layout method.

Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07