Jump to content
Software FX Community

How can I make numeric Y-Axis labels both Aligned ".Far" and also left-aligned


User (Legacy)

Recommended Posts

Hi,

I have a chart with a numeric Y Axis that is aligned on the right side of

the chart's display area.

I want the numberic Y Axis labels to actually be left aligned instead of

right aligned like most numeric Y Axis labels are, so that all numbers'

first digits are printed only a few millimeters away from the chart area. I

don't want ANY padding between the numbers and the chart area.

How can I do this?

Thanks a lot in advance,

Brook Hunter

Link to comment
Share on other sites

Oftentimes, stock market charting applications put the prices on the right 

side of the chart, but left aligned, so that the Y-Axis labels print up

against the chart like:

125

124.9995

124.999

124.9985

...

...

...

124

That way, a stock broker can look at the last tick (which is always on the

far right of the chart) and the label only a few millimeters next to it

without any eye strain or eye movement. It is very important for the

printed Y-Axis label to be the smallest number of millimeters away from the

last tick. Also, stock brokers like to see even prices like 125 without any

decimals, even if the label beneath it is 124.9995. When numbers are right

aligned on the right side of the graph, the "125" is printed too far away

from the chart area.

Any suggestions on how I can do this?

Even if there is no way to print labels left aligned, could you at least

tell me how to take out any additional padding between the lY-Axis labels

and the chart area?

Thanks,

Brook Hunter

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:$c0NpBjYGHA.1540@webserver3.softwarefx.com...

> Y-Axis labels are always right-aligned. Can you describe a situation where

> left-align labels are required ?

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Hi,

I would like 100 and 99 to print left aligned, like this:

100

99

It may sound funny but this is what some stock market graphing applications

do and I really want to emulate the industry standard.

So how can I do this?

Thanks,

Brook

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:RhVeIxvYGHA.1536@webserver3.softwarefx.com...

> How about a label that is 100 followed by one that is 99 ?

>

> How should it be displayed ? Like this:

>

> 100

> 99

>

> or like this:

>

> 100

> 99

>

> ?

>

> There is a minimum distance between the labels and the axis line. This

> distance is just a couple of pixels.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Currently, this is not possible. I was asking all these questions to 

determine whether to include this as a feature request.

I will put it in as a request, at first glance, this seems easy to implement

and not affecting a lot of code so it has a good chance of making it to the

next SP.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Awesome.  Now THAT´s real support.  I will wait for the Service Pack.

Francisco, your answers to my forum posts over the last few months have been

a real life saver for me. It is support like this that will make it easy

for me to convince my boss to purchase the Chart FX extensions.

Thanks again for everything.

Brook Hunter

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:5rdQRkMZGHA.3992@webserver3.softwarefx.com...

> Follow up. We have added a new style in the AxisStyle enumeration that

> allows you to have left aligned labels in vertical axes.

>

> Please contact Software FX support for a hotfix or wait for the next

> Service Pack.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...