Jump to content
Software FX Community

chart not displaying


Recommended Posts

I am trying to display a chart in my ASP.NET application using VB.NET in the code behind.  The code works great when I run it as a stand alone project in through Visual Studio, but when I put the exact same code in my project, the chart doesn't appear and there is no error message

Here is the code in the aspx page:

<%@ Page Language="VB" AutoEventWireup="true"  CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ Register Assembly="ChartFX.WebForms" Namespace="ChartFX.WebForms" TagPrefix="chartfx7" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head id="Head1" runat="server">   <title>Untitled Page</title></head><body>   <form id="form1" runat="server">   <div>   <chartfx7:Chart ID="Chart1" runat="server" Height="400px" Width="457px">   <Series>   <chartfx7:SeriesAttributes />   <chartfx7:SeriesAttributes />   <chartfx7:SeriesAttributes />   </Series>   </chartfx7:Chart>     </div>   </form></body></html>

here is the code in the code behind. 

Imports SystemImports System.DataImports System.ConfigurationImports System.WebImports System.Web.SecurityImports System.Web.UIImports System.Web.UI.WebControlsImports System.Web.UI.WebControls.WebPartsImports System.Web.UI.HtmlControlsImports ChartFX.WebFormsPartial Public Class _Default   Inherits System.Web.UI.Page   Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)   Chart1.Width = Unit.Percentage(100)   Chart1.Height = Unit.Percentage(100)   Chart1.RenderFormat = ".NET"   End SubEnd Class 

Any ideas on why putting this code in my project wouldn't show a graph? 

Link to comment
Share on other sites

I am having the same problem. I have a web application with four charts. All charts display when I run it from visual studio in my development
machine. When I moved the application to the production server (Windows Server 2003 - IIS) all I get are broken image link.

Link for the broken images: http://MyWS2003:8080/chartfx70/pss/ChartFX.aspx?id=0-0405142923&type=png&mime=image%2fpng

Any help would be greatly appreciated.

Link to comment
Share on other sites

Please review the following KB article:

Q7621004. The Chart FX PSS Service in a nutshell

This article explains how the Chart FX PSS Service works and how it can be configured.

URL: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/004.htm?_r=1

Also, check your event log for possible errors comming from PSS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...