Point and Figures Chart Issues

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tomato
Newbie
Newbie
Posts: 1
Joined: Fri Nov 15, 2002 12:00 am
Location: Gold Coast, Australia
Contact:

Point and Figures Chart Issues

Post by tomato » Mon Oct 17, 2005 3:10 am

Hi Guys,

I have been giving the role of Testing (and Fixing problems in) our VB .Net Financial Charting Package.

With every other P & F Chart I have seen previously (including MetaStocks & Incredicharts) the Up and Down symbols always occur Only on Multiples of the Box Size on the Y Axis (ie if you were using a Box size of 1 then you may have Up and Down symbols on $88, $95, $100 but not $88.45 etc) For Example, if you have an Up Trend going from $85 to $90 then you will have X's (or another Up Symbol) on the $85, $86, $87, $88, $89 & $90 points of the Y Axis.

I am not sure if I am missing something obvious? (such as a property not set etc) but in My Teechart P & F chart the distance between the X's and O's is inconsistent (basically depending on the Stock Prices), and their Points on the Y Axis are not the Multiples of the Box size as they would on a "Normal" P & F chart. This means there are Spaces in the Trends between 1 and 2 Box sizes.

Basically I am trying to find out if we can "snap" the X's and O's to the Box sizes.

I am hoping this makes sense. The Table we are passing just contains the Stock Data unmodified.

Dim lSeries As New Steema.TeeChart.Styles.PointFigure(TChart1.Chart)

With lSeries
.Title = "PandF"
.DataSource() = StockData.GetTable(mStockData, mDDPrefix, "PF_" & mStockCode)
.DateValues.DataMember = "TradeDate"
.OpenValues.DataMember = "Open"
.HighValues.DataMember = "High"
.LowValues.DataMember = "Low"
.CloseValues.DataMember = "Close"
.BoxSize = mBoxSize
.ReversalAmount = mReversal
.CheckDataSource()
.Visible = True
'Horizontal Axis Labels
mLabels = CalcHorizontalLabels(lSeries)
End With
AddSeries = True

Thanks

david

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 18, 2005 10:31 am

Hi david,

Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply