Jump to content
Software FX Community

Gallery.OpenHighLowClose ChartFX 2005 bar's visual X-coordinate very different from XValue it represents


User (Legacy)

Recommended Posts

Hi,

I have created an Open-High-Low-Close bar chart that allows the user to view

Open-High-Low-Close bars for a stock based on the user's chosen start date

and end date. I love the way the charts look (esp. when compared to the

somewhat amateurish rendering from a few other vendors I evaluated) and I

love the near limitless end-user UI features that Chart FX includes that

require no development time.

I have gotten to the point where everything is working great, except one

thing that if not fixed will make my application almost worthless for

evaluating stock data.

For short time ranges, like 1 day, I have noticed that a 30 minute

Open-High-Low-Close bar that represents data from an X-Value of 9:00 AM to

9:30 AM is displayed at about 9:15 AM, directly in between the open and

close times. This part is OK.

However, I have notice a very serious visual bug relating to the X-Value

offset of these bars that gets worse as the range of X-Values increases to 2

days, 3 days, and beyond, when plotted on a chart of the same width.

For time spans larger than 1 day plotted on a Chart FX chart of the same

width, the VISUAL X-Value of an Open-High-Low-Close bar gets further and

further away from the center point of the Start Time and End Time for the

bar, to the extent that the bar becomes centered on a Visual X-Value MUCH

greater than even the CLOSING TIME X-Value.

The reason I believe that this is a serious visual bug and not my

imagination is that the following 3 sources of X-Value visualization show

X-Values much less than the visual X-Value of the bar:

1) The Chart FX X-Value vertical lines at each Axis Step (drawn by Chart FX

itself).

2) The Chart FX Data Grid beneath the chart shows an X-Value of the Start

Time for the bars.

3) I have drawn custom vertical lines at some times as well.

All 3 sources above agree with each other about X-Values. Also, when I plot

the data using a Line Graph, the data points are visually displayed at the

correct location. It is only the Open-High-Low-Close bars that are printed

many hours off of their expected X-Value.

What can I do to ensure that Chart FX displays Open-High-Low-Close bars

centered within the range of the open and close time for the bars (or even

simply centered on top of the Open Time for the bar... This would be great

too.)

Thank you very much in advance,

Brook Hunter

Link to comment
Share on other sites

Please include a binary file of your chart (use the Export method to 

generate it) as well as a screenshot of the chart right before exporting

indicating (on top of the image) what is wrong.

I think I have a good idea of what's going on but I don't want to go into a

long explanation and then realize that it is something else.

If you don't feel comfortable posting this information in the newsgroup

(your data will be seen by anybody) you can send it to Software FX Support

and reference my name and the newsgroup posting, they will forward it to me.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

  • 3 weeks later...

I ended up solving this problem by giving every 30-minute period a 30-minute 

bar with Open, High, Low, and Close values all equal to the close of the

last legitimate 30-minute bar. Once every 30-minute period had a 30-minute

bar in it, all 30-minute bars plotted with the correct X-axis value (the

correct time).

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

news:mPS44xuEGHA.148@webserver3.softwarefx.com...

> Please include a binary file of your chart (use the Export method to

> generate it) as well as a screenshot of the chart right before exporting

> indicating (on top of the image) what is wrong.

>

> I think I have a good idea of what´s going on but I don´t want to go into

> a long explanation and then realize that it is something else.

>

> If you don´t feel comfortable posting this information in the newsgroup

> (your data will be seen by anybody) you can send it to Software FX Support

> and reference my name and the newsgroup posting, they will forward it to

> me.

>

> --

> 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...