Search found 30 matches
- Thu Aug 16, 2018 12:23 pm
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Thanks for the additional help.
- Thu Aug 02, 2018 9:19 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
For the text being shown in a shape, is there a way to wrap it in case it doesn't fit into a rectangle?
- Mon Jul 23, 2018 8:06 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Thanks for the additional feedback.
- Sun Jul 22, 2018 2:51 pm
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Apologies for the late reply (was away for 2 weeks). I tried it out in a smaller program and the event-handler is called, hence must be a problem in my code.
Thanks for all the help.
Thanks for all the help.
- Fri Jul 06, 2018 9:07 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
I have set the following code but the function never gets called, is there an alternative?
Chart1.OnGetAxisLabel := Chart1GetAxisLabel;
Chart1.OnGetAxisLabel := Chart1GetAxisLabel;
- Thu Jul 05, 2018 7:48 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Thanks for the reply, will try it out.
- Tue Jul 03, 2018 1:40 pm
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Sorry one more question... in determining at which position which square should be drawn it seems to be driven by the following code: X0:=TMyShape(myShapes.Items[i]).Year-0.5; X1:=TMyShape(myShapes.Items[i]).Year+0.5; Y0:=MaxValueForYear(TMyShape(myShapes.Items[i]).Year); Y1:=Y0+1; Other than years ...
- Tue Jul 03, 2018 11:45 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
I integrated your example code into my project and it looks good, thanks for all the help!
Vincenzo
Vincenzo
- Tue Jul 03, 2018 10:46 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Thanks a lot for the example code! (Noted about the sorting and rectangles).
If I upgrade to the latest version would then the original code achieve the same? (Since it looks more compact than than the v8 code).
If I upgrade to the latest version would then the original code achieve the same? (Since it looks more compact than than the v8 code).
- Tue Jul 03, 2018 8:22 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
I forgot to add that the squares should be always shown (no scrolling).
- Tue Jul 03, 2018 7:55 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Hi, Thanks for the reply. Not really sure how to implement this with TPoint/ShapeSeries hence an example would be appreciated. The squares should grow/shrink depending on the window size (holding the chart) but the dimension should remain proportionate (i.e. remain squares and not become rectangles)...
- Mon Jul 02, 2018 12:38 pm
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
I managed to compile the code by changing .hide to .visible := false (but had to remove MarksOnBar:=True; MarksLocation:=mlCenter;). The chart I'm getting looks different from the example you provided, could it be because of the code I had to change or because I'm using a different Teechart version?...
- Mon Jul 02, 2018 11:14 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Does the sample code work with version 8? (VCL) When I compile it I get a few error messages of functions/fields not defined, e.g.
Chart1.Walls.Hide;
MarksOnBar:=True;
MarksLocation:=mlCenter;
Chart1.Walls.Hide;
MarksOnBar:=True;
MarksLocation:=mlCenter;
- Mon Jul 02, 2018 8:01 am
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Re: Chart possible with Teechart?
Hi, thanks a lot, looks like exactly what I need.
Regards,
Vincenzo
Regards,
Vincenzo
- Sun Jul 01, 2018 2:20 pm
- Forum: VCL
- Topic: Chart possible with Teechart?
- Replies: 22
- Views: 37638
Chart possible with Teechart?
Hi, can Teechart be used to create a "chart" like the image below? Basically just a series of squares with different colors and sorted by a specific value. I'm using Teechart 8.
Thanks in advance for any pointers.
Image:
Thanks in advance for any pointers.
Image: