Hi Yeray,
Those two things did the trick; everything is working as I need it now!
Thanks for the excellent support.
Regards,
Mark
Search found 12 matches
- Fri Sep 07, 2018 8:59 am
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
- Mon Sep 03, 2018 5:20 pm
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Hello Yeray, Thanks for the modified project. Unfortunately, it still didn't work as required but I have now changed it myself and I'm almost there. Attached my Rev 3 of the project as zip file. Please refer to the included PDF with screenshots). There are two small issues remaining: The first issue...
- Sun Aug 26, 2018 11:25 am
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Hi Yeray, Again apologies for the late reply. Single-handed programmer working on / maintaining different applications, hence priorities change continuously :wink: This is still not working for me the way I would like to see it. Let me therefore try and explain in text what I am trying to achieve: I...
- Fri Jul 20, 2018 11:35 am
- Forum: VCL
- Topic: Property HoverElement does not exist
- Replies: 7
- Views: 18650
Re: Property HoverElement does not exist
Hello Yeray, Kind of strange. There was a path listed that appeared to reference an older (2017) version, albeit for TeeTree. As changing things around didn't make a difference, I decided to remove all paths listed (in Tools / Options -> Delphi Options -> Library, Library Path) and re-install TChart...
- Fri Jul 20, 2018 11:30 am
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Hello Yeray, It's still not functioning the it should. I have slightly modified your proposed approach and added a design-time (visual) TChart. This results in in two notable issues; 1. If you click the button ('Chart to Image') twice (without changing form size), you'll see a distinct difference. 2...
- Tue Jul 17, 2018 11:03 am
- Forum: VCL
- Topic: Property HoverElement does not exist
- Replies: 7
- Views: 18650
Property HoverElement does not exist
Hi, Hopefully you can help me with a strange (and very annoying) issue. I created a small test application in relation to topic http://www.teechart.net/support/viewtopic.php?f=3&t=16897 . All I did was placing a TChart on the form in order to experiment with some visual settings. Suddenly, the appli...
- Mon Jul 16, 2018 2:07 pm
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Hello Yeray, After some further experimenting, I am almost there. The trick was to use FChart.CustomChartRect := true; etc... There is one small detail left to fix though. For the axes I am showing (PositionPercent = 100), there still seems to be a label margin included in the ChartRect. I have crea...
- Mon Jul 16, 2018 11:37 am
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Hello Yeray, First of all: apologies for the late reply, but this is an experimental project I'm working on and more urgent projects required my attention first. I have experimented a little further and I have now found that (creating a "memory only" TChart) the problem lies in setting/getting the C...
- Wed Apr 25, 2018 7:49 am
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Re: Painting ChartRect to a custom canvas
Having reviewed QrTee.pas and using some code (BitBlt / StretchBlt) I have sort of managed to achieve the desired result. I now create the bitmap (TeeCreateBitmap) from a TChart on the form and, using BitBlt/StretchBlt, I copy to the TImage, cropping the bitmap to the ChartRect. This works fine, how...
- Sat Apr 21, 2018 2:20 pm
- Forum: VCL
- Topic: Painting ChartRect to a custom canvas
- Replies: 13
- Views: 28307
Painting ChartRect to a custom canvas
I have been trying to achieve the following, but I can't get close (unfortunately the Help is correctly installed and/or helpful either): I wish to develop a custom graphic object/component that embeds a TChart (just the Chart Rectangle that is). In its most simple form, it would look like show belo...
- Sat Apr 21, 2018 1:56 pm
- Forum: VCL
- Topic: Axis labels inside chart rectangle
- Replies: 2
- Views: 8397
Re: Axis labels inside chart rectangle
Works "like a treat"!! Thanks.
- Wed Apr 18, 2018 7:23 pm
- Forum: VCL
- Topic: Axis labels inside chart rectangle
- Replies: 2
- Views: 8397
Axis labels inside chart rectangle
Is there any way in which I can get the axis labels inside the chart rectangle? For example, for the left axis, I like to draw the labels to the right of the axis. The reason for this is that I wish to develop some graphic components into which I wish to copy the chart rectangle from on off-screen c...