Page 1 of 1

Point and Figures Chart Issues

Posted: Mon Oct 17, 2005 3:10 am
by 6920006
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

Posted: Tue Oct 18, 2005 10:31 am
by narcis
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.