PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Re: Charting: Lines on Stock Charts...not
Re: Charting: Lines on Stock Charts...not
Iniciado por Craig Chamberlin, jan., 28 2004 10:33 PM - Sem resposta
Publicado em janeiro, 28 2004 - 10:33 PM
Hi Peter,
Thanks for your help, you are such an asset.
I really hope I am missing something very obvious, but I have been
unsuccessful at adding a curved line, or any line to a graph of type
grBarCharts.
I'm afraid your not missing anything.

I was afraid of that.
I don't know how you have tried this? But maybe another solution:
---
grCreate("Chart",grBarCharts)
grAddData()
...
grDestinationControl("Chart","image1") //image1=image control
grDraw("Graphe1")
grDestinationControl("Chart","image2")
grType("Chart",grCurve)
dCopyBlt("image1","image2")
grDraw("Chart")
---

Tried it, and it works just like overlaying the two charts...However, I am going to try copying a rectangle, which doesn't include the titles, coordinates, etc., which should make it look better. Very crude implementation.
You can do it with Windev for sure, only not sure if you can do it nicely
without using API/ActiveX ...

I hope I don't have to use those things, I bought WinDev because I wanted to not have to do that...tired of dealing with different sets of idiosyncracies. It is my intention to just deal with WinDev's. I think I can make it work, as mentioned above.
Have to say that this is more than just a little disappointing, it's embarassing and should be embarassing to PC Soft. I also get to eat a couple of helpings of crow, because I have recommended WinDev to a couple of other programmer/traders, and they may have bought WinDev already.
Oh well. Thanks again.
Sigh,
Craig