close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding a currency symbol to numbers

Thread began 5/16/2010 2:06 am by djogrady376174 | Last modified 6/01/2010 6:53 pm by Eric Mittman | 5180 views | 5 replies |

djogrady376174

Adding a currency symbol to numbers

Is it possible to add a currency symbol (such as a "$" sign) to numbers in a chart created with Dynamic Web Charts, and if so, how do I do it?

Sign in to reply to this post

Eric Mittman

You can do this by going into the data files that are created and adding in the currency symbol. Open the page that is named after your chart with _data at the end of it. In here look for the value like this:

#val#

You can add in the currency symbol like this:

$#val#

Sign in to reply to this post

psychobilly1165508

Adding a currency symbol to numbers

I did not see this in the code = #val#

I added the "$", but the chart says "Undefined" after doing so.

<value>$<?php echo($row_WADWCorderdetails['YVALUE']); ?></value>

Where does the currency symbol go?

Sign in to reply to this post

Eric Mittman

Do you have a link where we can see the live chart? It would help to have a visual reference for where you are trying to add in the currency symbol.

Along with this please post back with the page that has the chart on it and your DynamicWebCharts folder from your site in a zip archive. I will use the link and your files to see where to add this for you and let you know.

Sign in to reply to this post

psychobilly1165508

Adding a currency symbol to numbers

I've attached a screenshot of the chart and a zip of the folder.

The file in question is cms-sales_data1.php.

thanks

Attached Files
DynamicWebCharts.zip
Sign in to reply to this post

Eric Mittman

In the data page for the current charge look for the value tag, then add in this tooltip just after it like this:

php:
<value><?php echo($row_WADWCorders['YVALUE']); ?></value>

<tooltip><![CDATA[#x_label#<br>$#val#  ]]></tooltip>



Please give this a try, and let us know if it does not work for you. If you have any further trouble with this it would help us if we had a link to the live chart.

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