Sign in to follow this  
JLThompson

Asp Charts Don't Show

Recommended Posts

Please Help... (time crunch). Sorry if starting a new topic is incorrect. I have been wrestling with this for weeks. I have read other's issues with this problem and it seems to always come down to the path to the charts. I have changed the paths from "/../FusionCharts/filename" to "../FusionCharts/filename" to "FusionCharts/filename" and nothing on my Godaddy server. Unlike some... I don't get an error and something saying Chart will show here. I just wind up with a page with the chart missing! I have attached a pic of the file structure on the server and a screenshot of the chart missing from the page, This is probably a really simple fix that I've been looking at so long... I can't see the forest for the trees. Thanks in advance for your assistance.

 

Here is the code in the file:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-

 

transitional.dtd">

<%@ Language=VBScript %>

<%

'We've included ../Includes/FusionCharts.asp, which contains functions

'to help us easily embed the charts.

%>

<!-- #INCLUDE FILE="../Includes/FusionCharts.asp" -->

<!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>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

<title>FusionCharts - Simple Column 3D Chart</title>

<link href="../assets/ui/css/style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="../assets/ui/js/jquery.min.js"></script>

<script type="text/javascript" src="../assets/ui/js/lib.js"></script>

<!--[if IE 6]>

<script type="text/javascript" src="../assets/ui/js/DD_belatedPNG_0.0.8a-min.js"></script>

 

<script>

/* select the element name, css selector, background etc */

DD_belatedPNG.fix('img');

 

/* string argument can be any CSS selector */

</script>

<![endif]-->

 

<style type="text/css">

h2.headline {

font: normal 110%/137.5% "Trebuchet MS", Arial, Helvetica, sans-serif;

padding: 0;

margin: 25px 0 25px 0;

color: #7d7c8b;

text-align: center;

}

p.small {

font: normal 68.75%/150% Verdana, Geneva, sans-serif;

color: #919191;

padding: 0;

margin: 0 auto;

width: 664px;

text-align: center;

}

</style>

<%

 

%>

<script LANGUAGE="Javascript" SRC="FusionCharts.js"></script>

 

</head>

<body>

 

<div id="wrapper">

 

<div id="header">

 

 

<div class="logo"><a class="imagelink" href="http://www.fusioncharts.com/" target="_blank"><img

 

src="../assets/ui/images/fusionchartsv3.2-logo.png" width="131" height="75" alt="FusionCharts XT logo"

 

/></a></div>

<h1 class="brand-name">FusionCharts XT</h1>

<h1 class="logo-text">ASP Basic Examples</h1>

</div>

 

<div class="content-area">

<div id="content-area-inner-main">

<h2 class="headline">Basic example using pre-built Data.xml</h2>

 

<div class="gen-chart-render">

<%

 

'This page demonstrates the ease of generating charts using FusionCharts.

'For this chart, we've used a pre-defined Data.xml (contained in /Data/ folder)

'Ideally, you would NOT use a physical data file. Instead you'll have

'your own ASP scripts virtually relay the XML data document. Such examples are also

 

present.

'For a head-start, we've kept this example very simple.

 

 

' Create the chart - Column 3D Chart with data from Data/Data.xml

Call renderChart("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst",

 

600, 300, false, true)

%>

 

 

</div>

<div class="clear"></div>

<p> </p>

<p class="small">This page demonstrates the ease of generating charts using FusionCharts.

 

For this chart, we've used a pre-defined Data.xml <!--<p class="small">This dashboard was created using

 

FusionCharts XT, FusionWidgets v3 and FusionMaps v3 You are free to reproduce and distribute this dashboard in

 

its original form, without changing any content, whatsoever. <br />

© All Rights Reserved</p>

<p> </p>-->

</p>

 

<div class="underline-dull"></div>

</div>

</div>

 

<div id="footer">

<ul>

<li><a href="../index.html"><span>« Back to list of examples</span></a></li>

<li class="pipe">|</li>

<li><a href="../NoChart.html"><span>Unable to see the chart above?</span></a></li>

</ul>

</div>

</div>

</body>

</html>

 

 

 

 

Screenshots of Server and Page.doc

Share this post


Link to post
Share on other sites

Hi,

 

Please Help... (time crunch). Sorry if starting a new topic is incorrect. I have been wrestling with this for weeks. I have read other's issues with this problem and it seems to always come down to the path to the charts. I have changed the paths from "/../FusionCharts/filename" to "../FusionCharts/filename" to "FusionCharts/filename" and nothing on my Godaddy server. Unlike some... I don't get an error and something saying Chart will show here. I just wind up with a page with the chart missing! I have attached a pic of the file structure on the server and a screenshot of the chart missing from the page, This is probably a really simple fix that I've been looking at so long... I can't see the forest for the trees. Thanks in advance for your assistance.

 

Here is the code in the file:

 

Could you please confirm if your SWF and XML files are kept exactly in the location whose path you have defined in your code?

Ref. - Call renderChart("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", 600, 300, false, true)%>

 

Awaiting your reply.

Share this post


Link to post
Share on other sites
1360910748[/url]' post='52104']

Hi,

 

 

 

Could you please confirm if your SWF and XML files are kept exactly in the location whose path you have defined in your code?

Ref. - Call renderChart("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", 600, 300, false, true)%>

 

Awaiting your reply.

Share this post


Link to post
Share on other sites

Thank you for your quick response. My server directory structure is as follows:

/ /Charts /Code /ASP /assets /BasicExample /Data (this folder is where the Data.xml file is located) /Includes /FusionCharts (this folder is where the Column3D.swf file is located ... Same directory level as Code)

Hope this is confirmation...

Thank you again for your assistance and quick response.Joe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this