User (Legacy) Posted October 11, 2002 Report Share Posted October 11, 2002 Hi All - I am trying to use the cdfxie 5.5 under the .net stuff - of course - it fails - does anyone have a quicky sample of how they got it to work under the .net stuff? (asp.net would be prefered) my sample code is attached - please advise thanks tony Link to comment Share on other sites More sharing options...
Software FX Posted October 15, 2002 Report Share Posted October 15, 2002 Hello, Here is some sample code using ChartFX Internet 5.5 in an ASPX page. Please note that our include file (cfxie.inc) but from the error descriptions it is obvious what changes need to be made in the include file. <%@ Page aspcompat="true" language="vb" Debug="true"%> <!-- Include this file so we can use all the ChartFX constants in the .Net FrameWork --> <!-- #include virtual="/Include/CfxIENet.inc" --> <% Dim Chart Chart = Server.CreateObject("ChartFX.WebServer.4") Chart.Chart3D = True Chart.Gallery = Pie Chart.PointLabels = True Chart.RGBBk = RGB(255,255,255) Chart.OpenDataEx(COD_VALUES, 1, 3) Chart.ValueEX(0,0) = 30 Chart.ValueEX(0,1) = 10 Chart.ValueEX(0,2) = 20 Chart.CloseData(COD_VALUES) Response.write(chart.GetHtmlTag(480,300,"Auto","chart1")) %> JT Tech. Support 561-392-2023 "Tony Farrell" <pithhelmet@hotmail.com> wrote in message news:AggqtHUcCHA.1320@webserver1.softwarefx.com... > Hi All - > > I am trying to use the cdfxie 5.5 under the .net stuff - > > of course - it fails - > > does anyone have a quicky sample of how they got it to work under the .net > stuff? > (asp.net would be prefered) > > > my sample code is attached - > > > please advise > > thanks > tony > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 17, 2002 Author Report Share Posted October 17, 2002 Do you also have sample code for using an ADO.NET dataset instead of the old fashioned ado recordset? Thanks "SFX Tech Support" <support@softwarefx.com> wrote in message news:qIkxRTIdCHA.1968@webserver1.softwarefx.com... > Hello, > > Here is some sample code using ChartFX Internet 5.5 in an ASPX page. Please > note that our include file (cfxie.inc) but from the error descriptions it is > obvious what changes need to be made in the include file. > > <%@ Page aspcompat="true" language="vb" Debug="true"%> > <!-- Include this file so we can use all the ChartFX constants in the .Net > FrameWork --> > <!-- #include virtual="/Include/CfxIENet.inc" --> > <% > Dim Chart > Chart = Server.CreateObject("ChartFX.WebServer.4") > Chart.Chart3D = True > Chart.Gallery = Pie > Chart.PointLabels = True > Chart.RGBBk = RGB(255,255,255) > Chart.OpenDataEx(COD_VALUES, 1, 3) > Chart.ValueEX(0,0) = 30 > Chart.ValueEX(0,1) = 10 > Chart.ValueEX(0,2) = 20 > Chart.CloseData(COD_VALUES) > Response.write(chart.GetHtmlTag(480,300,"Auto","chart1")) > %> > > JT > Tech. Support > 561-392-2023 > > "Tony Farrell" <pithhelmet@hotmail.com> wrote in message > news:AggqtHUcCHA.1320@webserver1.softwarefx.com... > > Hi All - > > > > I am trying to use the cdfxie 5.5 under the .net stuff - > > > > of course - it fails - > > > > does anyone have a quicky sample of how they got it to work under the .net > > stuff? > > (asp.net would be prefered) > > > > > > my sample code is attached - > > > > > > please advise > > > > thanks > > tony > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 28, 2003 Author Report Share Posted February 28, 2003 Hi Guys - I am trying to implement this in the code behind side of the system - but there are a couple of problems - one is the include file... CfxIENet.inc where is this at??? second - is there a DLL that i need to set a reference to so i can perform early binding??? thanks tony "SFX Tech Support" <support@softwarefx.com> wrote in message news:qIkxRTIdCHA.1968@webserver1.softwarefx.com... > Hello, > > Here is some sample code using ChartFX Internet 5.5 in an ASPX page. Please > note that our include file (cfxie.inc) but from the error descriptions it is > obvious what changes need to be made in the include file. > > <%@ Page aspcompat="true" language="vb" Debug="true"%> > <!-- Include this file so we can use all the ChartFX constants in the .Net > FrameWork --> > <!-- #include virtual="/Include/CfxIENet.inc" --> > <% > Dim Chart > Chart = Server.CreateObject("ChartFX.WebServer.4") > Chart.Chart3D = True > Chart.Gallery = Pie > Chart.PointLabels = True > Chart.RGBBk = RGB(255,255,255) > Chart.OpenDataEx(COD_VALUES, 1, 3) > Chart.ValueEX(0,0) = 30 > Chart.ValueEX(0,1) = 10 > Chart.ValueEX(0,2) = 20 > Chart.CloseData(COD_VALUES) > Response.write(chart.GetHtmlTag(480,300,"Auto","chart1")) > %> > > JT > Tech. Support > 561-392-2023 > > "Tony Farrell" <pithhelmet@hotmail.com> wrote in message > news:AggqtHUcCHA.1320@webserver1.softwarefx.com... > > Hi All - > > > > I am trying to use the cdfxie 5.5 under the .net stuff - > > > > of course - it fails - > > > > does anyone have a quicky sample of how they got it to work under the .net > > stuff? > > (asp.net would be prefered) > > > > > > my sample code is attached - > > > > > > please advise > > > > thanks > > tony > > > > > > > > Chart.bmp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.