Jump to content
Software FX Community

Y axis ScaleUnit vs. spacing

User (Legacy)

Recommended Posts

I am using ChartFX in VB6 to display graphs of large numbers.  To make them

readable, I use the .ScaleUnit property of the Y axis. But when I do this,

there's a large amount of whitespace to the left of the axis, almost as if

it was leaving room for the extra digits that are not displayed due to the

scaling. Does anyone know if this is a bug, or am I doing something wrong?

Settings I'm using on the chart that may be pertinent:

.Gallery = BARS

.Palette = "Gray Scale"

.AxesStyle = CAS_MATH

.Axis.Item(AXIS_Y).Decimals = 0

.Axis.Item(AXIS_Y).Font.Name = "Swis721 BT"

.Axis.Item(AXIS_Y).Font.Size = 7

.Axis.Item(AXIS_X).Visible = False

.View3DDepth = 35

.Volume = 60

.TopGap = 14

.LeftGap = 1 'Was set to 35, appears to make no difference

.RightGap = 0

.BottomGap = 53


.Axis.Item(AXIS_Y).Decimals = 2

.Axis.Item(AXIS_Y).ScaleUnit = 1000000000

.Axis.Item(AXIS_Y).Title = "$ Billions"

(JPEG image of graph is attached)


Eric Law

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...