Connecting Tech Pros Worldwide Forums | Help | Site Map

Force decimal in graph axss

rzito@si.rr.com
Guest
 
Posts: n/a
#1: Mar 27 '07
I am having a issue when I try to programmatically apply the X axis to
my chart as I am trying to chart against a double number (ie: 45.89)
should be part of the X axis, I keep getting an error that I can not
use a decimal, is there a way I can force it in? I put labels under
the chart but sometimes depending on the source data the chart expands
and the values no longer lines up, thanks!


engles@ridesoft.com
Guest
 
Posts: n/a
#2: Mar 27 '07

re: Force decimal in graph axss


On Mar 26, 6:41 pm, r...@si.rr.com wrote:
Quote:
I am having a issue when I try to programmatically apply the X axis to
my chart as I am trying to chart against a double number (ie: 45.89)
should be part of the X axis, I keep getting an error that I can not
use a decimal, is there a way I can force it in? I put labels under
the chart but sometimes depending on the source data the chart expands
and the values no longer lines up, thanks!
I'm not sure exactly the problem, but to get double and integer, try
using cdbl(clng(x)) where, x is a double. The clngconverts to
integer, then cdbl converts back to double. That might solve your
problem.

-- Larry Engles

Closed Thread