Jump to content
Software FX Community

Larsmoll

Members
  • Posts

    13
  • Joined

  • Last visited

Larsmoll's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi and thanks for answer. This works fine. I set Chart1.Series[1].SendToBack(); and the line is up front. I have tried this in the other code which is a lot more complex: I am instatiating a new object in the page load and sending it the Chart1 when instatiating, along which is generated at design in default.aspx. Then I have a method to fill in the chart. Could this confuse chartfx? barline_namespace.clsBarLine Barline = new barline_namespace.clsBarLine(Chart1); Barline.GenerateChart(seriesData, wgsWidth, wgsHeight, wgsFrom, wgsTo, QS_object.Language, QS_object.Heading, QS_object.Xgrid, QS_object.Ygrid, QS_object.Kvartiler); Lars :-))
  2. Hi evbody! I have a problem making a chart with one lineseries and one barseries. I can't get the line in the foreground. I have tried .sendtoback/.bringtofront but it doesn't look good. I have also played with the order of the series and transparencies but it doesn't help. I get a lot of different results. Is there a specific way of doing this? TIA Lars :-))
  3. Hi and thanks for response. The PSS is an application. I have also tried the trick of running the PSS in classic mode. I am allmost certain that there are issues with ChartFX and Windows2008. For example, The servicepack has no text label to the Install button. Just a minor detail, but it indicates that there is something going on.... Frank, you are right, the PSS just doesn't kick in. Every now and then after reboot I get entries in the event log that the PSS has trouble starting. I then start it manually and it looks ok. I will try one more time to reinstall ChartFX it but I suspect the deinstallation not to clean it all up. What do I need to do completely remove chartfx? The odd thing about this is, as I mentioned earlier, that it worked pretty good (even the PSS) until I ran the service pack (that was allready installed). If it still does not work, I will contact software support. Cheers Lars :-)
  4. Hi and thanks for answer.:-) I want to use PSS. In my code I either render as Image (gives me broken image with the tag <img id="Graf" src="/chartfx70/temp/CFT1212_10281814ED8.png" WIDTH="800" HEIGHT="600" usemap="#GrafMap" border="0" oncontextmenu ="return false;"/> ) or .Net (gives me an empty frame, the source says: <object codetype="application/octet-stream" id="Graf" classid="/chartfx70/download/ChartFX.NetIEClient.dll#ChartFX.NetIEClient.Chart" standby="Downloading Chart FX control please wait ..." WIDTH="800px" HEIGHT="600px" > <PARAM NAME="DataPath" VALUE="/chartfx70/temp/CFT1212_10323405E1E.chw"> I was under the impression that there is something wrong if it points directly to a .png, it should point to an .aspx....). Trying to access the file, the .png when rendering as image, directly gives me 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. The web site is in a trusted area... Are you sure ChartFX is 100% certified for Longhorn and IIS 7.0? And why is the servicepack acting so strange? TIA Lars
  5. Ok, I am at the brink of giving up on ChartFX. I have tried to get the package to work for several weeks but here I am still getting the broken image. This is the setup: Longhorn on an VMS server. IIS 7.0. I install the ChartFX webforms software : ChartFXVS2005WebForms, then I patch it up with CfxNet70ServPack. The patch installation job acts weird (sometimes text is missing etc.) but I am able to install the latest version (I think) I create the virtual dir. Chartfx70 pointing to c:\program files\chart fx for visual studio 2005\chartfx70 and give it full access for everyone. But I get the broken image and imagesrc is src="/chartfx70/temp/CFT1210_0101543B0E7.png" and that is wrong. Then I have read thru a bunch of posts and KB articles. I try : C:\Windows\system32\inetsrv\APPCMD.EXE migrate config "Default Web Site/ChartFX70/PSS" . No good.... The real pity in this is that I had it all sort of working two weeks ago. Except for the zoom function of the .Net rendered control. I then posted this problem on this forum. Someone suggested that I should make sure I had the latest service pack of ChartFX. To be sure I ran the sp again and it f... up everything. There has got to be some issues with service pack on Longhorn..... Now I really do not know what to do and my boss is fuming... TIA Lars
  6. I have got the PSS and .Net rendering (trust etc.) working fine but one of my users have pointed out that the zoom, that comes with the .Net chart, on a line graph with thousands of points works in a strange way. It works fine the first time he zooms, but if he zooms again it seems like there are no data or the zoom comes up with an unexpected line/data. If he tries to use the scrollbars on the graph, the praph will scroll but there are no line/data. First I thought it had something with the size of the zoombox when he zooms. In other words, if the size of the graph is 800x600 and the size of the zoombox is 30x 70 the component has to calculate what area to show. But it just doesn't add up. Here is the tag for the chart element < Chartfx7:Chart ID="Chart1" runat="server" RenderFormat=".Net" UseClientLoader="True" EmbeddedData="True" ></Chartfx7:Chart> I have tried many combination of the different parameters but can't make it work. Maybe the zoom is not suppose to work to more than one level or is it something else I am doing wrong? TIA Lars :-)
  7. Hello all! I have been toying with my project using VS2008 and ChartFX7.0. My web is deployed on a IIS7.0. I have been able to get the PSS working properly. The client is displaying the chart/toolbar properly but some of the commands (Zoom for instance doesn't work properly). Now I wonder: 1. To get the Zoombox with rubberband which I have seen somewhere here on this web, do I have to render the chart as .Net? Now the zoom only gives a menu of 25,50% etc., and it doesn't even work properly. I render it as Image. 2. If I render the chart as Image and using javascript to create the rubberband zoombox; do I need another trip to the server or can I manipulate the chart/image on the client thru javascripts. (I want to zoom some of the data, recalculate my axis etc). I have some considerations: My web must work with all kinds of browsers and I do not want any kind of plugin on the client. Thats why I choose to use the Image rendering. But I might have misunderstood something. TIA Lars :-))
  8. Hi and thanks for response! Yes, I mean rendering it from codebehind using .rendercontrol or .rendertostream. For different reasons I do not want to drag the object onto the page, I rather instatiate it thru code. Is it impossible getting the menu this way? If so I will have to rearrange my whole web... TIA Lars :-))
  9. Hi! I need to render a chart which is created in code in an aspx-page (not from the ToolBox). I want to render it to a browser client with the menu to it. I just can't get it right. I either get just a graphic image (png or jpg) or I get a graphic image thru the PSS and an imagemap. I want all the other stuff to (javascript etc.). I want the rendering to be readable from any modern browser without any plugin (ActiveX,Flash etc.). I gues I want some straightforward javascripts. If I drag and drop it from the toolbox it gives me all I want (javascripts etc.) but I would rather not do this. I have read thru a bunch of posts and tried many combinations of : theChart.EnableViewState = theChart.UseClientLoader = //theChart.EmbeddedData = theChart.RenderFormat = theChart.OutputWriter = svgWriter; theChart.ImageSettings.Interactive = theChart.RenderControl(); theChart.RenderToStream(); What would be the proper combination of this or am I heading in the wrong direction? TIA Lars :-))
  10. Hello all! I have a project where I create the chart in code (onlad event). I can work with the object and it renders with RenderControl() command. It gives me an image map and a img tag with the usual aspx. and a png format parameters. Looks fine. But how do I get all of the other stuff/menu (javascript mm.) which I get if I create the chart using draganddrop. I guess there are som methods/properties I have to juggle with. But I can't find the right combination. I want to start out with the stuff that is automatically created and then do my own adjustments to it. Any help would be much appreciated. Lars :-))
  11. Hello! I was able to solve the problem during this weekend. First, I was able to determine that thwe PSS service did not function properly. It made no difference if it was stopped !! Solution: I deinstalled chartfx. (Wasn't able to remove the PSS service). I installed the 2005 Chartfx again. patched it up to 7.0. Then I ran the dosprompt command: appcmd.exe config remove "myweb\chartfx70\pss" (I found this in an other posting, has to do with the .Net mode of the ISS I think) Now it works fine! Thanks Lars :-))
  12. Hi and thanks for response: The img tag points directly to a .jpg so the PSS is not running correctly?! The PSS service is running. The problem arises every 5 times or so I try to access it. I have been reading thru a lot of posts, someone describes a similar problem and they concluded that he would have to reinstall chartfx. It also said something about .Net security/trust domain. I will try to reinstall Chartfx during this upcoming weekend and see what happens. Lars :-))
  13. Hi! I am using ChartFX7.0 in my web application. I have configured it to use the PSS rendering service using the method chart.Rendercontrol(). Most of the times the chart is fine in the browser but some times it will not show, just getting the broken Image The source code in the browser (img tag) is pointing to a jpg and the jpeg is created on the server. I guess it is some problem (authentication) when the client has its second trip to retrieve the jpeg. I have read all the articles I could find about this topic but can't figure out what to do. I am using VisualStudio2008 to develop (instatiating the chart object in code), web server is Longhorn and browser is IE6.0. Lars :-))
×
×
  • Create New...