Is there an easy/logical way to represent stock-value or price-changes in time.
I would like to see something like this :
I have looked at all the examples, and tried some things with ctLine, no luck...
Can somebody give me a hint ?
Did you try the Digital Line type?
Yes, but it;s not clear how to use it ..
I tried AddSingleXYPoint, but it seems that the X-value is ignored.
AddSingleXYPoint(10,2) -> i see a point at [1,2]
AddSingleXYPoint(110,1) -> i see a point at [2,1] etc ..
This is not an XY chart type.
For Digital line type, AddSinglePoint() needs to be used.
Thank you Bruno. But I still have trouble understanding this. Is it alwas so, that only the Y-value can be set, and that every point add's to the next x-value ?
Suppose, I want to see the price of an article since 2000. And the price has changed say 10 times since 1-1-2000. Do I need to set the value for every day from 1-1-2000 to today ?
Maybe I overlook something ?
Thank you Pieter,,
I am making progress, but find it not so easy, and not intuitive. I don't have the FNC Chart, so if it is possible to do it with the VCL Chart. i go for that.
Still, I am having doubts if it is even possible to generate a chart like this :
Maybe a few lines of code just to get me started would help a lot...
I did not find demo's. Are there any ??
I don't see any samples/demos. Is it possible to download them seperatly ?
The samples get installed automatically along the components itself when you install the registered version. Please look under your Documents folder under tmssoftware\TMS Advanced Charts and there in sub folder named "Demo overview"
Thanks, I found it. I was looking in the wrong "Documents" folder.. I'll take a look at the demo's
I guess, to make it like the example, I have to add 2 points for a change of value :
price change on 1/5/2017 would be :
AddSingleXYPoint(ConvertDateTimeTox("01-01-2015", 10) ; //start of chart
AddSingleXYPoint(ConvertDateTimeTox("01-05-2017", 10) ; //draw straight line to date of change
AddSingleXYPoint(ConvertDateTimeTox("01-01-2015", 12) ; //new price
AddSingleXYPoint(ConvertDateTimeTox("TODAY", 12) ; //end of chart
That is OK for me, but is it possible to get rid of the bullits ? When there are a lot of changes in a short periode of time, this gets messie..