Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Chart didnt show nothing (Read 11941 times)
andre127
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 21st, 2011
Chart didnt show nothing
Nov 21st, 2011 at 6:38am
Print Post  
Hi all,
I am new in mindfusion charting. last time I already downloaded and installed mindfusion charting. But I have a problem when try to use it in Visual Studio (2010). When I run the project, it opened up in browser and shows nothing. Only show small box with red X inside it.

Anyone know how to solve it?

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Chart didnt show nothing
Reply #1 - Nov 21st, 2011 at 8:14am
Print Post  
Hi,

Under the control's installation folder, you should be able to find a \Redistributable\WebForms.ChartGen\ subfolder that contains MindFusion.WebForms.ChartGen.aspx pages implemented in C# and VB.NET. Add the one corresponding to the language you are using to your project, along with the code-behind file.

ChartGen.aspx should be placed in the same folder where your page that loads a chart instance is located, because the <img> src value generated is relative to that folder. Alternatively, you could copy it to a different folder and set the ChartGenLocation property of the Chart - its value will be directly set as src attribute of the chart's <img> element.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
andre127
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 21st, 2011
Re: Chart didnt show nothing
Reply #2 - Nov 21st, 2011 at 9:08am
Print Post  
Thanks Stoyan. It's really helpful. I already tested it and works.

Btw, mindfusion charting support something like stock market graph that will update automatically when the database changed?

And if I want to print out the chart to something like pdf, how to do it?

I really appreciate your help.
Thanks.
Andre
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Chart didnt show nothing
Reply #3 - Nov 21st, 2011 at 9:23am
Print Post  
Hi Andre,

There is no built-in support for real time updates. You will have to use a timer to refresh either the whole page or just a frame / UpdatePanel that hosts the chart.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
andre127
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 21st, 2011
Re: Chart didnt show nothing
Reply #4 - Nov 21st, 2011 at 9:36am
Print Post  
Hi Stoyan,

How about print the chart? Is there any feature to do this from mindfusion or I need to hard-code it?

Thanks.
Andre
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Chart didnt show nothing
Reply #5 - Nov 21st, 2011 at 9:53am
Print Post  
Hi,

The browser should be able to print the chart image just fine. If you want to print just the chart but nothing else from the page, you could add a print button that opens the chart alone in a new window.

Otherwise, server controls do not have direct access to printers and control over pagination. If you need some better control over the print output, you'll have to use the WinForms version of the control and persuade you customers to download a Windows application for printing Smiley

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
andre127
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 21st, 2011
Re: Chart didnt show nothing
Reply #6 - Nov 22nd, 2011 at 4:32am
Print Post  
Thanks Stoyan.
I'm really appreciate it.

Thanks.
Andre
  
Back to top
 
IP Logged
 
andre127
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 21st, 2011
Re: Chart didnt show nothing
Reply #7 - Nov 22nd, 2011 at 5:14am
Print Post  
Hi Stoyan,
I'm forgot to ask about scrolling in Mindfusion. Is MindFusion support scrolling? which means if the diagram is too long we can scroll it to the left or right to seethe rest.

Thanks.
Andre
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Chart didnt show nothing
Reply #8 - Nov 22nd, 2011 at 7:03am
Print Post  
Hi Andre,

There is no built-in support for scrolling in the web version. You could place the chart inside a div with overflow set to scroll/auto to enable scrolling.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint