Search found 21 matches

by Jamie
Wed Nov 09, 2022 4:54 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hi Yeray, Apologies, I made a silly mistake! I edited the files, as stated, I ran TeeRecompile, I rebuilt the project ... but I had put the modified TeEngine.pas in the same directory as VCLTee.TeEngine.pas! Hence TeeRecompile was still finding the old version of TeEngine.pas. The project now works ...
by Jamie
Tue Nov 08, 2022 2:48 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hi Yeray, Many thanks for your help. Unfortunately that doesn't seem to have solved the problem for me, but perhaps I'm missing something? I made the change you suggested in TeEngine.pas and VCLTee.TeEngine.pas (just to be sure) and ran TeeRecompile, but I'm not seeing any change in the behaviour of...
by Jamie
Sun Nov 06, 2022 9:24 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hi Yeray, I assign the same OnGetAxisLabel procedure to between 50 and 1000 charts in a grid, which automatically refresh the axis labels as the grid scrolls/resizes and the charts redraw, which seems a nice solution. I would prefer, if possible, not to risk introducing any bugs by changing the meth...
by Jamie
Thu Oct 27, 2022 3:47 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

... third post!

I should also point out, in answer to your point that the axis doesn't display because I have not added any labels, that OnGetAxisLabel is not called at all if I add even a single label to "BottomAxis.Items".
by Jamie
Thu Oct 27, 2022 3:39 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

OK, further to my last post, I just checked the latest Help chm file I downloaded and the description for OnGetAxisLabel still matches what I am trying to do.

Surely this is a bug, as this function no longer works?

I can see my code assigning values to LabelText, as shown, but they do no appear.
by Jamie
Thu Oct 27, 2022 1:23 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hi Yeray, Thanks, but because some of the labels are times and other values that have meaning the automatically calculated increments do not always make sense and customers have said so - hence I overrode it with my own algorithm, which my customers are happy with. I say again though: why has OnGetA...
by Jamie
Thu Oct 27, 2022 12:43 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hi Yeray, Thanks, but as I said in my second post this doesn't help me. The change to TeeChart breaks existing code, which needs to dynamically adjust the bottom axis for sometimes over 100 charts on the screen at any time. OnGetAxisLabel is fired as the chart gets redrawn, whereas clearing and repo...
by Jamie
Wed Oct 26, 2022 6:59 pm
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

I have tried everything I can think of to get the axis to draw, so far to no avail. I have found a sort-of-workaround using "Chart.BottomAxis.Items.Add", which does display. But I am using GetAxisLabel to dynamically vary the number of labels displayed on a whole DrawGrid full of charts, as the form...
by Jamie
Wed Oct 26, 2022 8:58 am
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

OK, thanks. I have created new topic "Chart.Draw with LabelStyle talText - BottomAxis missing" with example.
by Jamie
Wed Oct 26, 2022 8:58 am
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 9749

Chart.Draw with LabelStyle talText - BottomAxis missing

Hi, I have recently updated to TeeChart 2022.36 with Delphi 10.4. Now that I have updated TChart I find that all my "Chart.Draw" calls now have a missing BottomAxis. This is affecting several different applications, which I have been maintaining for years, through multiple previous upgrades of TeeCh...
by Jamie
Tue Oct 25, 2022 9:25 pm
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Hi Yeray, I managed to get the source code and after some trial and error I finally have everything working, thanks for your help. ... except ... Now that I have updated TChart I find that all my "Chart.Draw" calls now have a missing BottomAxis! This is affecting several different applications, whic...
by Jamie
Fri Oct 14, 2022 7:49 pm
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Apologies, I see now that you were referring to the other error I mentioned. I have tried adding various Library paths, but nothing has helped, so far. The TQRDBChart does not seem to be registered in the first place. When I installed the components the only component listed as added is TQBChart. I ...
by Jamie
Fri Oct 14, 2022 2:37 pm
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Thank you. I will try that. Did you manage to find the bug where a TQRDBChart component gets inserted inside the TQRChart component when saving? On the one installation where I managed to get QRChart working I still can't use it, after reloading. I can recreate the form, from scratch, compile and ru...
by Jamie
Fri Oct 07, 2022 5:57 pm
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Well over the last couple of days I've tried everything I can think of, all to no avail. I've uninstalled Delphi completely, wiped the folders and registry, tried Delphi 11 - but could not find components for TQRChart. So back to Delphi 10.4, from scratch, and still the same problems as before! I al...
by Jamie
Wed Oct 05, 2022 2:59 pm
Forum: VCL
Topic: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found
Replies: 18
Views: 10181

Re: Unable to build Tee9QR6D27 - QuickReport 6 Chart- Required package 'QRWRunDXE10_4_w64' not found

Hi,

I tried that but got exactly the same error. Do I need to uninstall something first, or remove a reference somewhere?