Jump to content
Software FX Community

X Axis Labels Being Arbitrarily Omitted


User (Legacy)

Recommended Posts

Hello,

I'm graphing a dynamic amount of data that ranges from a small number of

points to a large number. Each point has an x axis label that is basically a

timestamp. When the day rolls over, and at the beginning and end of the x

axis I would like to disply the full date, and otherwise I would like to

just display the time. Unfortunately, since ChartFX changes the number of x

axis labels dynamically, I lose my full date labels occasionally. Is there

any way to make explicit what you'd like labeled? Or force certain items to

be labeled? Is there a rule to the number of points per label depending on

the overall number of points? I'm using the following label settings:

chartSBC.Axis(AXIS_X).LabelAngle = 90

chartSBC.Axis(AXIS_Y).Format = "#0.00"

chartSBC.Axis(AXIS_X).Format = AF_None

chartSBC.Axis(AXIS_X).Font.Size = 7

chartSBC.Axis(AXIS_X).Font.Name = "Verdana"

Thanks a bunch,

Josh

Link to comment
Share on other sites

Hello again,

I think I may have found the answer to my problem using the LabelValue and

Step properties of the Axis object. Any additional advice would still be

appreciated, though.

Josh

"Josh Lewis" <kevestun@mindspring.com> wrote in message

news:N5l1pCCNCHA.1280@webserver1.softwarefx.com...

> Hello,

>

> I'm graphing a dynamic amount of data that ranges from a small number of

> points to a large number. Each point has an x axis label that is basically

a

> timestamp. When the day rolls over, and at the beginning and end of the x

> axis I would like to disply the full date, and otherwise I would like to

> just display the time. Unfortunately, since ChartFX changes the number of

x

> axis labels dynamically, I lose my full date labels occasionally. Is there

> any way to make explicit what you'd like labeled? Or force certain items

to

> be labeled? Is there a rule to the number of points per label depending on

> the overall number of points? I'm using the following label settings:

>

> chartSBC.Axis(AXIS_X).LabelAngle = 90

> chartSBC.Axis(AXIS_Y).Format = "#0.00"

> chartSBC.Axis(AXIS_X).Format = AF_None

> chartSBC.Axis(AXIS_X).Font.Size = 7

> chartSBC.Axis(AXIS_X).Font.Name = "Verdana"

>

> Thanks a bunch,

>

> Josh

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...