Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 How to make two or more chart in a browser window?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sakamali

Turkey
33 Posts

Posted - 17 Oct 2014 :  04:48:39  Show Profile  Reply with Quote
Hi,
Is there a way to initialize two or more charts (based on a variable) and show them in a browser window? I create some reports window and i need this to show various charts.

Thanks in advance.

quinncurtis

1586 Posts

Posted - 17 Oct 2014 :  08:57:39  Show Profile  Reply with Quote
The Asp.Net example program SPCWebApplication2 demonstrates how to stream a chart image to an Asp.Net Image control. So you would just have two or more Image controls at different locations on the web page and stream a different spc chart image to each. The method is described in Chapter 13 of the manual. Or, since you know how to save an image file to disk, you can connect the image file to a Asp.Net Image control through behind code.
Go to Top of Page

sakamali

Turkey
33 Posts

Posted - 17 Oct 2014 :  10:10:46  Show Profile  Reply with Quote
I checked out the pdf manual. I also use SPCWebApplication2 in my project. However, if I have 3 data sets to stream charts, I don't know what can I do to see 3 chart images in my web page.
Could you please send an example for this?
Thanks.
Go to Top of Page

quinncurtis

1586 Posts

Posted - 17 Oct 2014 :  10:22:23  Show Profile  Reply with Quote
Sorry, but we do not have an example of streaming multiple charts to a web page. You can contract us to write you a custom example if you want. Contact support@quinn-curtis.com for a quote.

You should be able to figure this out. You create (Add New Item | Webform) two different web forms (WebForm1, WebForm2) in your project. You create a chart in each WebForm. Then you connect each web form to a different Image control in the behind code of the Default.aspx web page.

Image1.ImageUrl = "WebForm1.aspx" +
"?" +
"WIDTH=" + widthString +
"&HEIGHT=" + heightString +
"&OPTIONS=" + optionsString;

Image2.ImageUrl = "WebForm2.aspx" +
"?" +
"WIDTH=" + widthString +
"&HEIGHT=" + heightString +
"&OPTIONS=" + optionsString;
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07