Search found 8999 matches

by Yeray
Mon Jun 21, 2021 10:13 am
Forum: VCL
Topic: Working with Scrollbar and Mouse Panning Together
Replies: 2
Views: 105

Re: Working with Scrollbar and Mouse Panning Together

Hello, This seems to be working fine for me here: void __fastcall TForm2::FormCreate(TObject *Sender) { Chart1 = new TChart(this); Chart1->Parent = this; ChartScrollBar1 = new TChartScrollBar(this); ChartScrollBar1->Parent = this; Chart1->Align = alClient; ChartScrollBar1->Align = alBottom; ChartScr...
by Yeray
Mon Jun 21, 2021 9:04 am
Forum: VCL
Topic: Scroll with Mouse Wheel TChart 2021
Replies: 4
Views: 143

Re: Scroll with Mouse Wheel TChart 2021

I've added it tot he public tracker (#2433) and already implemented the fix for it so it should be available with the next maintenance release.
by Yeray
Mon Jun 21, 2021 8:36 am
Forum: VCL
Topic: Scroll with Mouse Wheel TChart 2021
Replies: 4
Views: 143

Re: Scroll with Mouse Wheel TChart 2021

Sorry, I missed the "wheel" part.
I'm checking it now.
by Yeray
Mon Jun 21, 2021 8:30 am
Forum: VCL
Topic: Scroll with Mouse Wheel TChart 2021
Replies: 4
Views: 143

Re: Scroll with Mouse Wheel TChart 2021

Hello, Chart1->AllowPanning = pmHorizontal; should be enough. Here a simple example that works for me: TChart *Chart1 = new TChart(this); Chart1->Parent = this; Chart1->Align = alClient; Chart1->Canvas = new TGDIPlusCanvas(); Chart1->View3D = false; Chart1->Legend->Hide(); Chart1->AllowPanning = pmH...
by Yeray
Wed Jun 09, 2021 6:21 pm
Forum: Activex
Topic: Is it posible to draw opaque cylinder surfaces in tchart.ocx
Replies: 8
Views: 1441

Re: Is it posible to draw opaque cylinder surfaces in tchart.ocx

Hello, For some reason, the Canvas.Polygon3D method it's not recognized in my Excel-VBA instalation. I'm sorry for the confusion. There's no TeeChart ActiveX version with Polygon3D function published yet. When I said this: With Polygon3D ( #2427 ) function you'll be able to get this I meant I was te...
by Yeray
Wed Jun 09, 2021 6:14 pm
Forum: VCL
Topic: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Replies: 9
Views: 710

Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020

Hello,

Another alternative is to run the IDE with high privileges (as administrator) so it has enough rights to write there.
by Yeray
Tue Jun 08, 2021 10:59 am
Forum: VCL
Topic: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Replies: 9
Views: 710

Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020

Hello, Is the TEESRCPATH defined in the environment variables? teesrcpath.png It probably is, and it probably has the value: C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL;C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Cod...
by Yeray
Tue Jun 08, 2021 10:45 am
Forum: Activex
Topic: Is it posible to draw opaque cylinder surfaces in tchart.ocx
Replies: 8
Views: 1441

Re: Is it posible to draw opaque cylinder surfaces in tchart.ocx

Hello, It takes a bit of time to play with trigonometry, but this is what I understand you are trying to achieve: polygon3D.png Option Explicit Private Const HORZSIZE = 4 Private Const VERTSIZE = 6 Private Const arcSteps = 360 Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, By...
by Yeray
Mon Jun 07, 2021 6:43 am
Forum: VCL
Topic: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Replies: 9
Views: 710

Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020

Hello, This is probably a case of a miscofiguration in the paths. If you want to debug TeeChart sources, you need to have the "Source\VCL" path in the Library path. Otherwise, you just need to run TeeRecompile and check the "Compiled\Delphi26.win32" path (or "Compiled\Delphi26.win64", etc depending ...
by Yeray
Thu Jun 03, 2021 5:43 pm
Forum: Activex
Topic: Is it posible to draw opaque cylinder surfaces in tchart.ocx
Replies: 8
Views: 1441

Re: Is it posible to draw opaque cylinder surfaces in tchart.ocx

Hello, With Polygon3D ( #2427 ) function you'll be able to get this: polygon3D.png Note that's still not a real arc. So it's done by drawing polygons side by side. Option Explicit Private Const HORZSIZE = 4 Private Const VERTSIZE = 6 Private Const arcSteps = 360 Private Declare Function GetDeviceCap...
by Yeray
Thu Jun 03, 2021 6:22 am
Forum: VCL
Topic: Check if chart is panned?
Replies: 1
Views: 236

Re: Check if chart is panned?

Hello,

There's the OnScroll event:

Code: Select all

  Chart1.OnScroll:=ChartScroll;

Code: Select all

procedure TForm1.ChartScroll(Sender: TObject);
begin
  Caption:='Scrolling...';
end;
by Yeray
Thu Jun 03, 2021 12:28 am
Forum: Activex
Topic: How to draw flat opaque closed polygons in 3D
Replies: 1
Views: 271

Re: How to draw flat opaque closed polygons in 3D

Hello,

Isn't this the same you asked for here?
by Yeray
Mon May 24, 2021 10:59 am
Forum: Activex
Topic: Is it posible to draw opaque cylinder surfaces in tchart.ocx
Replies: 8
Views: 1441

Re: Is it posible to draw opaque cylinder surfaces in tchart.ocx

Hello,

I've been playing with your project from here and found the functions we provide don't allow to draw some polygons so I've added this to the public tracker (#2427).
by Yeray
Fri May 21, 2021 1:50 pm
Forum: Activex
Topic: Weird behavior drawing opaque surfaces in 3D in VBA Excel
Replies: 5
Views: 1422

Re: Weird behavior drawing opaque surfaces in 3D in VBA Excel

Hello,

You are welcome! Happy to be helpful :)
by Yeray
Thu May 20, 2021 11:13 am
Forum: VCL
Topic: Circular or limited chart buffer
Replies: 1
Views: 680

Re: Circular or limited chart buffer

Hello,

The Delete method should be the fastest way to remove points. Have you seen the example here?
2021-05-20_13-08-43.gif
2021-05-20_13-08-43.gif (363.47 KiB) Viewed 666 times
If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.