Can't see a thing
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Can't see a thing Expand / Collapse
Author
Message
Posted 9/12/2007 11:21:36 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/18/2007 2:32:11 PM
Posts: 3, Visits: 8
The thing is i can't see a thing o what i have done, with either of the 2 render methods there are, but first 'll list what i did

1.- I copied the infosoftglobal.dll to a bin directory on my web app and added the reference to it
2.- I copied the FusionChart.vb and imported its namespace on the web page i use it to call the function
3.- Created a FusionChart directory where i put the fusionchart.js and the charts

Here is the code

Imports InfoSoftGlobal.FusionCharts
Imports InfoSoftGlobal.Global

Partial Class Recibo
Inherits System.Web.UI.Page

Dim WebService As New aguahh.Service
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dataSetConsumo As New Data.DataSet
Dim strXML As String

dataSetConsumo = WebService.Consumos("2000382")

dataSetConsumo.Tables(0).Columns.Remove("SEC_REC")
dataSetConsumo.Tables(0).Columns.Remove("NIS_RAD")
dataSetConsumo.Tables(0).Columns.Remove("SEC_NIS")
dataSetConsumo.Tables(0).Columns.Remove("IMP_FACT")
dataSetConsumo.Tables(0).Columns.Remove("F_FACT_SUST")
dataSetConsumo.Tables(0).Columns.Remove("F_FACT")

strXML = "" & vbCrLf
For Each line As Data.DataRow In dataSetConsumo.Tables(0).Rows
strXML = strXML & "" & vbCrLf
Next
strXML = strXML & "
" & vbCrLf

InfoSoftGlobal.FusionCharts.RenderChart("FusionCharts/MSColumn3D.swf", "", strXML, "HistorialConsumo", 570, 284, False, True)

consumoGrid.DataSource = dataSetConsumo
consumoGrid.DataBind()

End Sub
End Class


Post #2371
Posted 9/12/2007 11:53:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/18/2007 2:32:11 PM
Posts: 3, Visits: 8
never mind, i found the solution, i was receiving the string with the code, but i wasn't putting it in the page code, i just had to put it like this:

Response.Write(InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/Column3D.swf", "", strXML, "HistorialConsumo", 570, 284, True))

I mean, what the function was returning show it in the code and the chart now shows

thanks anyway
Post #2373
Posted 10/5/2007 11:52:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/18/2007 2:32:11 PM
Posts: 3, Visits: 8
The problem came back, and this time i don't know what it can be.

I had already checked everything, but it won't show nothing, only the white space where it has to be the chart and the possible solution that comes on the documentation won't do cuz i don't see that infinite loading bar, not even the debug will show, neither one of those errors that has to show like invalid data, or no data on xml, also, when i left click the area, it shows like it was loaded, cuz the "no loaded movie" option doesn't show like it has to be if it was loaded correctly

It was fine yesterday and today that i checked something on the page it started to happen, i restored a backup of my web and nothing, what can be?

Edit 1:

Nevermind, somehow,the cache was giving me the problem, i usually use firefox and ie to check my webpage's design, but then i tried opera and the chart worked, released the cache of bout browsers and worked again, xD
Post #2617
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 3:30am


Execution: 0.031.