Forums

ASP

This topic is locked

negative values in a bar chart

Posted 18 Sep 2002 17:50:36
1
has voted
18 Sep 2002 17:50:36 John Wadsworth posted:
I have a bar chart that builds bars based on values in the database. It works fine for Positive values, but when there are negative values, I need to have it build a bar to the opposite side of Zero. How do I accomplish this? Appreciate all help.

John R Wadsworth

Replies

Replied 19 Sep 2002 09:48:52
19 Sep 2002 09:48:52 Vince Baker replied:
what are you using to build your charts?

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 19 Sep 2002 11:59:53
19 Sep 2002 11:59:53 John Wadsworth replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
what are you using to build your charts?

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

John R Wadsworth
Replied 19 Sep 2002 12:05:58
19 Sep 2002 12:05:58 John Wadsworth replied:
I am using Ultradev with an Access database and this code: &lt;img src="images/bluepixel.gif" height="10" width="&lt;%=(rsBullDetail.Fields.Item("STA FL Score".Value)*100%&gt;"&gt;

what are you using to build your charts?

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting


John R Wadsworth
Replied 20 Sep 2002 13:41:30
20 Sep 2002 13:41:30 Andrew Watson replied:
You could use CSS Styles to size your bars and when negative place the keft edge of the image the negative value you have from the left of the standard image then it should stretch to the 0 point.

:: Son, im Thirty.... ::

Reply to this topic