andymc123
Members-
Content count
4 -
Joined
-
Last visited
About andymc123
-
Rank
Forum Newbie
-
Does anyone use Fusion Charts within a DotNetNuke (DNN) web portal? I am having issues getting mine cinfigured. I have posed a similar question on the DNN Forum. My issue is that I can get a sample chart to run on my local machine, but when I upload it to the web portal it does not work. I am usign VB.Net to build the chart and an "Open-Smart module" within DNN to hold the graph. I have no issues with standard .ascx pages running in the "Open-Smart module" but Fusion Charts fail to load. Just wondering if anyone has had the same issues?
-
When I try that I get a compilation error stating that FusionCharts is not declared. I have tried a number of different things, even creating a whole new project with only one control that is a test FusionChart and I still can not get one to work on an ascx page running on an aspx page. Compiler Error Message: BC30451: Name 'FusionCharts' is not declared. Source Error: Line 8: & "<set label='Jan' value='462' /><set label='Feb' value='857' /><set label='Mar' value='671' /><set label='Apr' value='494' /><set label='May' value='761' /> " _Line 9: & "<set label='Jun' value='960' /><set label='Jul' value='629' /><set label='Aug' value='622' /><set label='Sep' value='376' /><set label='Oct' value='494' /><set label='Nov' value='761' /><set label='Dec' value='960' /></chart>")Line 11: End FunctionLine 12: </script>
-
Hello Supreme B, Yes the FusionCharts.dll is in the bin folder as well as the InfoSoftGlobal.dll. I wasn't sure which would be needed so referenced them both. I actually couldn't even get the samples to run until I placed them in the bin folder. Any other ideas?
-
I am trying to get Fusion Charts to run on my local machine in VS2008. The samples that are provided with Fusion Charts work when I run them, but any chart that I build on my own gives me the error 'FusionCharts is undefined'. I am creating an ascx file with no code behind and trying to run the control within the Default.aspx page. This is the way that our pages need to be created so that we can place place the controls into our internal web interface. Is there something else that I need to Import? <%@ Control Language="VB" ClassName="TestFusionChart" %> <%@ Import Namespace="InfoSoftGlobal" %> <script runat="server"> Public Function GetGraphData() As String Dim xmlData As New StringBuilder() xmlData.Append("<chart caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showValues='0' formatNumberScale='0' showBorder='1'> " _ & "<set label='Jan' value='462' /><set label='Feb' value='857' /><set label='Mar' value='671' /><set label='Apr' value='494' /><set label='May' value='761' /> " _ & "<set label='Jun' value='960' /><set label='Jul' value='629' /><set label='Aug' value='622' /><set label='Sep' value='376' /><set label='Oct' value='494' /><set label='Nov' value='761' /><set label='Dec' value='960' /></chart>") Return FusionCharts.RenderChart("/Charts/Line.swf", "", xmlData.ToString, "", "600", "300", False, False) End Function </script> <table style="width:100%;"> <tr><td> </td> <td style="text-align: center"> TEST CHART</td> <td> </td></tr> <tr><td> </td> <td style="text-align: center"> <%=GetGraphData()%></td> <td> </td> </tr><tr> <td> </td> <td> </td> <td> </td> </tr></table>