Search found 7 matches

by Jonp
Tue Dec 12, 2023 8:44 pm
Forum: VCL
Topic: Sizing charts in ChartLayout
Replies: 9
Views: 8526

Re: Sizing charts in ChartLayout

Hi Yeray,
Yes, that works fine.
Interestingly, I just installed Rad Studio 12. Your previous version works in that, as does the new one.
In 11.2, only the new one works.
Thanks a lot for your effort. It is rather useful to obtain something similar to panel graphs in R.
Best
Jon
by Jonp
Wed Nov 29, 2023 3:17 pm
Forum: VCL
Topic: Sizing charts in ChartLayout
Replies: 9
Views: 8526

Re: Sizing charts in ChartLayout

Hi,
Strange. I get:
Capture.PNG
Capture.PNG (31.35 KiB) Viewed 8249 times
The code is the original code, plus your suggested changes.

(Rad Studio 11.2 and the latest version of Teechart Build 2023.39.231109)

Best,
Jon
by Jonp
Tue Nov 28, 2023 9:33 am
Forum: VCL
Topic: Sizing charts in ChartLayout
Replies: 9
Views: 8526

Re: Sizing charts in ChartLayout

Hello,
That improves things, but the leftmost chart is still a bit more narrow.
Best,
Jon
by Jonp
Mon Nov 27, 2023 9:14 pm
Forum: VCL
Topic: Sizing charts in ChartLayout
Replies: 9
Views: 8526

Re: Sizing charts in ChartLayout

Dear Yeray,
Thanks a lot - this is nearly exactly what I wanted. However, the leftmost chart is still a little bit smaller. It seems that some factor is missing in the wOffset calculation.
Best
Jon
by Jonp
Thu Nov 23, 2023 2:43 pm
Forum: VCL
Topic: Sizing charts in ChartLayout
Replies: 9
Views: 8526

Sizing charts in ChartLayout

Hi, I have difficulties sizing charts using tChartLayout. I have five charts in one row. The first chart should have a left axis, while the other four should just have a line with no labels or ticks. That is easily achieved by setting only the left axis on the leftmost chart to visible. I managed to...
by Jonp
Fri Dec 09, 2022 11:58 am
Forum: VCL
Topic: Problem saving in emf
Replies: 3
Views: 4512

Re: Problem saving in emf

Hi Yeray, Sorry for not answering before. The way to get to the save is rather complex, so I have to figure out a way to reproduce the error in a simple example. But: the problem does not seem to be your fault, at least not totally. It also crashes if I use metafile:=QualityChart.TeeCreateMetafile(F...
by Jonp
Thu Oct 20, 2022 12:32 pm
Forum: VCL
Topic: Problem saving in emf
Replies: 3
Views: 4512

Problem saving in emf

Hi, I am trying to export charts to files of various formats . Most work fine. However, while wmf export is ok, the emf crashes in the Winapi.GDIPOBJ in the following function function TGPGraphics.MeasureString(string_: WideString; length: Integer; font: TGPFont; const origin: TGPPointF; out boundin...