View Full Version : Dynamic chart is not displayed
nmabey414064
10-06-2010, 05:52 AM
I am using dynamic chart with asp.
The static charts shows up normal. But were the dynamic one shoul be displayed it reads
"DynamicWebCharts/Data/diagramm4_dataparser2.asp?"
When I open the Flash Movie on its own it only shows
"C:\Users\John\Documents\flash\svn\data-files\data-47.txt"
What do I do wrong?
here is a link to the test online
http://packetmedia.co.uk/Diagramm4/diagramm4.asp
Thanks
Jason Byrnes
10-06-2010, 12:30 PM
When i click on the link you provided I get a 404 page not found error.
Can you please post a working link so i can see the problem in the browser?
nmabey414064
10-07-2010, 02:17 AM
Thanks very much for the quick reply. I am new to webdevelopment and just startet two weeks ago with these things, so excuse my inexperience.
I have partly found the error. The file ..._data1.asp always writes:
<!--'#include file="../../Connections/connMyConnection.asp" -->
but for some reason it can include the file
so I put all of connMyConnection.asp directly in ..._data1.asp that works. But is it a good solution?
The other problem is that when I change data in the database it doesnt change the graph, which I tought should happen with dynamic charts?
And how can I combine multiple web charts into a single chart? As a I have nicely two graphs under each other but I would like to have two bars in the garph like in the example attached.
Sorry for all the questions.
nmabey414064
10-07-2010, 04:49 AM
Hi Jason,
I have found the dynamic chart tutorial to combine the graphs, works fine.
But I also have to manually include the connection file all the time otherwise I get the error
"DynamicWebCharts/Data/..._dataparser1.asp?"
I have seen that I totaly have to close the tab and open it new so that the graph updates its data. Is that right? Is it not enough to just refresh the page?
Thanks a lot
Jason Byrnes
10-07-2010, 01:06 PM
in the site definition, try changing the setting "Create Links Relative to:" from "Document" to "Site".
some ASP servers have the Disallow Parent Paths setting turned on, this prevents the use of relative links like ../../Connections/connMyConnection.asp
setting "Create Links Relative to:" will force Dreamweaver to create the connection include line using include virtual:
<!--'#include virtual="/Connections/connMyConnection.asp" -->
to over come the issue.
nmabey414064
10-08-2010, 05:52 AM
Thanks I will try that.
Jason Byrnes
10-08-2010, 07:41 AM
you're welcome.
sbeals416182
10-08-2010, 11:55 AM
I too am having the same issue with my Chart not displaying. I know that the recordset is working ok, as on the same page I have a recordset table displaying data, however I am getting this where my chart is: /DynamicWebCharts/Data/index_dataparser1.asp?
I have verified that my site is set to Root not document, and that my include file is correct.
You can see the error at http://www.slsreports.com/reviewreports.com
nmabey414064
10-12-2010, 03:49 AM
Hi have you tried to place all the code of myConnection.asp into the file ..._data1.asp?
(insted of <!--'#include file="../../Connections/connMyConnection.asp" -->)
That's how I made it working.
davidorton424620
04-05-2011, 03:32 AM
hi
i was having the same problem. i have tried putting the connection string in the ..data1.asp as suggested which now shows the graph, but the data remains the same even if i change the data in the table and refresh the page. only started playing with this today so not sure what i'm doing, is there an option to refresh the graph in the setup wizard? thanks
Jason Byrnes
04-05-2011, 10:09 AM
you asked this in another thread as well, see my reply there:
http://www.webassist.com/forums/showthread.php?p=95587&posted=1#post95587
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.