Good day.
I'm using TeeChart for my graph in PowerBuilder 8 and 10.
My Graph will depend on the retrieved data.
For example:
1. If only one day will be chosen, it will display a Bar Graph and if more than a day then it will display a FastLine Graph.
My problem are:
1. I can't customize my FastLine Graph by changing its pointer style from none to diamond or any shape.
2. I can't set the point to visible in PB.
Questions:
1. How will I set the point to Visible?
2. How will I change the pointer style from none to Diamond?
3. Do you have a tutorial on TeeChart using PowerBuilder Code? If yes, can you send it to me?
Thanks.
TeeChart in PowerBuilder
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi khalipar,
First of all, please notice that I moved your message from the forum you originally posted it as it is TeeGofer forum, a product different from TeeChart. Moreover, since you are using PowerBuilder I assume you are using TeeChart Pro ActiveX since PB supports ActiveX controls and therefore I moved the thread to the TeeChart Pro ActiveX forum.
Having said that, find below the answers to your questions:
1. You can't set FastLine series pointer as this series style doesn't have Pointer to optimize it's drawing speed. If you want to use line series with pointers you should use line series.
2. In Visual Basic, you can set pointer style like this:
If PowerBuilder doesn't recognise TeeChart's constants you'll find their definitions at TeeChartDefines.h available at C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\Examples\Visual C++ (Default English installation path). So that the code above would be:
3. No, we don't have any PB example nor documentation. We don't have much experience using PowerBuilder but we know some of our clients use TeeChart Pro ActiveX with this environment. Here you can find a PB example a client posted.
First of all, please notice that I moved your message from the forum you originally posted it as it is TeeGofer forum, a product different from TeeChart. Moreover, since you are using PowerBuilder I assume you are using TeeChart Pro ActiveX since PB supports ActiveX controls and therefore I moved the thread to the TeeChart Pro ActiveX forum.
Having said that, find below the answers to your questions:
1. You can't set FastLine series pointer as this series style doesn't have Pointer to optimize it's drawing speed. If you want to use line series with pointers you should use line series.
2. In Visual Basic, you can set pointer style like this:
Code: Select all
TChart1.Series(0).asLine.Pointer.Visible = True
TChart1.Series(0).asLine.Pointer.Style = psDiamond
Code: Select all
TChart1.Series(0).asLine.Pointer.Visible = True
TChart1.Series(0).asLine.Pointer.Style = 7
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |