Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uiObjects and chart help?

Status
Not open for further replies.

kjjj

Technical User
Apr 23, 2005
19
US
Can any one lend a little help? I DON"T do this as a living just for my own torture.

What I'm trying to do is create my own "Series.Marker"
I have a chart based on a table x-axis named "Timeline" and I'm trying to create a Series.Marker or UIObject with 3 fields (High Low Close).
When doing something similar in the past I divided chart size by Timeline ( xx ) and adding back in the size of the border.

tc.fieldValue("Timeline", xx)
uu = (xx * 100.237) + 1620 ; so that (xx * 100.237) is size of chart and 1620 gets me to zero

ui1.attach(DSkin1) ; Name of chart

ui1.create(Linetool, uu, 540, 0, 5190, ui1)
ui1.LineEnds = ArrowBothEnds
ui1.Color = green

That was a snippet from what was attached to a mouseclick and in that situation it worked(!).
Is there a better way to associate "Timeline" to my chart "DSkin1" than through points x and y (so arcaic)
It has to do with series but how do I associate the series to an uiobject or is this too stupid to ask :)
thanks in advance
Kim

The beauty of Paradox is that there are usually 10 ways to do things and I think my ways are all to often wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top