Search found 8995 matches

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: 900

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: 316

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: 316

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: 900

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: 316

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: 900

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: 147

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: 163

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: 900

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: 1151

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: 588

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 574 times
If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.
by Yeray
Thu May 20, 2021 11:05 am
Forum: Activex
Topic: Weird behavior drawing opaque surfaces in 3D in VBA Excel
Replies: 5
Views: 1151

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

Hello, Yes, I looked at your code. Now I looked at it again and indeed I was wrong and found what seems to be a bug in your code. You are looping your series at OnAfterDraw event, but you are starting at series index 1, which skips the first series, which is corresponds to the first plane in your dr...
by Yeray
Wed May 19, 2021 12:40 pm
Forum: Activex
Topic: Weird behavior drawing opaque surfaces in 3D in VBA Excel
Replies: 5
Views: 1151

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

Hello, Sorry for the delayed reply here. This happens because you are drawing the planes in a specific order, which doesn't considers the rotation and elevation of the view and the position of the object. Ie, when you look a cube from the front, you need to draw the back plane first, and the front p...
by Yeray
Fri May 14, 2021 7:59 am
Forum: Javascript / HTML5
Topic: teechart javascript ColorGird on zoom should display the color pattern same as .net library
Replies: 3
Views: 1039

Re: teechart javascript ColorGird on zoom should display the color pattern same as .net library

Hello Ashutosh,

We can schedule a remote session if needed but we'd like to understand the request and that implies a simple example we can run as-is to reproduce the problem here.
by Yeray
Mon May 10, 2021 12:49 pm
Forum: Javascript / HTML5
Topic: teechart javascript ColorGird on zoom should display the color pattern same as .net library
Replies: 3
Views: 1039

Re: teechart javascript ColorGird on zoom should display the color pattern same as .net library

Hello,

I'm not sure to understand if the image below is the .NET - and the desired - result or not.
If so, you should obtain something similar just setting smooth to false.

If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.