close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Absolute basics for making a Dynamic chart

Thread began 10/08/2010 7:36 am by nmabey414064 | Last modified 10/13/2010 1:02 pm by Jason Byrnes | 1485 views | 5 replies |

nmabey414064

Absolute basics for making a Dynamic chart

i have set the chart in the wizard to point to a table in my database which is indexed using an ID.

How do I pass this ID to the chart? I use this code to call the chart:-

<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="940" height="300">
<param name="movie" value="DynamicWebCharts/open-flash-chart.swf?data=DynamicWebCharts/Data/protected2_dataparser1.asp?<%=Request.QueryString()%>" />
<param name="quality" value="high" />
<embed src="DynamicWebCharts/open-flash-chart.swf?data=DynamicWebCharts/Data/protected2_dataparser1.asp?<%=Request.QueryString()%>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="940" height="300"></embed>
</object></td>

The chart should only display data related to this unique ID.

We have set the wizard to Filter on the ID, equals - then "entered Value" (as opposed to Session Variable or URL Param) and ID.

Is this the correct way to set the wizard up do get the chart to display all the data associated with the ID?

What is the difference between entered values, param values and session values?

Finally can I say that Yes!, we are new to all this stuff - so please be gentle with your answers !!!!

Sign in to reply to this post

Jason ByrnesWebAssist

did you add this part to code manually "<%=Request.QueryString( )%>"? this is not correct.


Do you want to filter the chart on a specific value only? or do you want to be able to different values in?

if you want to be able to pass differant values in, then you did not set the filtering up right.

If you want to pass different values in set the filter up as:
ID, equals
QueryString, <Enter name of the querystring variable to use>


where e<Enter name of the querystring variable to use> is the querystring variable name.

For example, if you call the page as "myPage.asp?id=3" the qurystring to use is "id"

set the filtering up as:
ID, equals
QueryString, id

Sign in to reply to this post

nmabey414064

thanks very much, it works.

Is it also possible to pass more than one variable to the chart?

E.g. on an overview page a loop creates two charts, one should now display ID=1 data, the other ID=2.

Thanks very much for the help.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you can pass multiple variables using differant querystrings:

myPage.asp?id=3&id2=6


you will need to go into advanced view to add the aditional perameters to the recordset, check on how the first one is created, to get an idea of how to the create the second for the id2 querystring

Sign in to reply to this post

nmabey414064

thanks very much, I will try that.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...