Search found 9337 matches

by Yeray
Tue May 23, 2023 12:59 pm
Forum: VCL
Topic: creating series in runtime .. enought using addseries
Replies: 2
Views: 62

Re: creating series in runtime .. enought using addseries

Hello,

This is perfectly fine:

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var i, j: Integer;
begin
  for i:=0 to 4 do
  begin
    Chart1.AddSeries(TFastLineSeries);
    for j:=0 to 9 do
      Chart1[i].AddXY(j, random*10);
  end;
end;
by Yeray
Tue May 23, 2023 12:55 pm
Forum: VCL
Topic: Correct way to change BackImage
Replies: 4
Views: 110

Re: Correct way to change BackImage

Hello Andy,

Yes, that's the correct way.
by Yeray
Tue May 23, 2023 12:55 pm
Forum: VCL
Topic: installation problems
Replies: 3
Views: 117

Re: installation problems

Hello, Do you have all the updates installed in the IDE? https://docwiki.embarcadero.com/RADStudio/Rio/en/What%27s_New Note we always build the binary installers with all the updates installed, and these kind of errors use to mean some packages in the IDE are different to those used to build the pac...
by Yeray
Fri May 19, 2023 10:20 am
Forum: FMX
Topic: Pinch zoom and panning for 1Dim charts
Replies: 3
Views: 335

Re: Pinch zoom and panning for 1Dim charts

Hello, Find an example here: uses System.Math, FMXTee.Series; procedure TForm1.FormCreate(Sender: TObject); var Series1: TLineSeries; begin Chart1.View3D:=False; Chart1.Legend.Hide; Chart1.Color:=clWhite; Chart1.Gradient.Visible:=False; Chart1.Walls.Back.Color:=clWhite; Chart1.Walls.Back.Gradient.Vi...
by Yeray
Fri May 19, 2023 7:13 am
Forum: VCL
Topic: Correct way to change BackImage
Replies: 4
Views: 110

Re: Correct way to change BackImage

Hello Andy, I've just given it a try with the same version, just in a new application with a TChart two buttons and the code below, and it seems to work pefectly: Project1_2023-05-19_09-15-22.gif Unit1.h: #include <VCLTee.TeePNG.hpp> #include <VCLTee.TeeConst.hpp> Unit1.cpp: #pragma link "VCLTee.Tee...
by Yeray
Tue May 16, 2023 12:48 pm
Forum: VCL
Topic: Allowdrag in Tchart as property in tools.subchart
Replies: 1
Views: 174

Re: Allowdrag in Tchart as property in tools.subchart

Hello, Indeed, AllowDrag and AllowResize are properties in TSubChart class, not in TChart class. TSubChart_properties.png The TChart can be positioned as a regular TControl . If you leave the Align property set to alNone as per default, then you can position it using Left and Top properties, and siz...
by Yeray
Fri May 12, 2023 10:55 am
Forum: VCL
Topic: first and last index of for instance HIGH function
Replies: 4
Views: 302

Re: first and last index of for instance HIGH function

Hello,

Maybe you need to add the CheckDataSource after adding a new value to the candle.
Find an example attached.
HighFunctionTest.zip
(3.19 KiB) Downloaded 29 times
by Yeray
Fri May 12, 2023 10:35 am
Forum: VCL
Topic: is HIGH function applicable for Candle chart?
Replies: 4
Views: 277

Re: is HIGH function applicable for Candle chart?

Hello,

In your screenshot you already seem to have a High function so I thought what you didn't like about it was the "period" used to calculate it.
If you still find problems with it, can you please elaborate the question?
by Yeray
Fri May 12, 2023 9:31 am
Forum: VCL
Topic: Out Of Memory printing TeeChart (Delphi / ReportBuilder (Digital Metaphors)
Replies: 8
Views: 948

Re: Out Of Memory printing TeeChart (Delphi / ReportBuilder (Digital Metaphors)

Hello,

I'm afraid there's still a problem with using GDIPlus in multiple threads.
Since metafile doesn't require GDIPlus, the workaround is to set GDI canvas.
by Yeray
Fri May 12, 2023 6:31 am
Forum: FMX
Topic: Selection can't be cancelled by ESC
Replies: 3
Views: 1612

Re: Selection can't be cancelled by ESC

Hello, You could use the OnKeyDown event to cancel the Zoom and Panning actions. Ie: procedure TForm1.Chart1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if Key=TeeKey_Escape then begin Chart1.Zoom.Active:=False; Chart1.Panning.Active:=False; Chart1.Draw; end; end;
by Yeray
Thu May 11, 2023 3:40 pm
Forum: VCL
Topic: TeeChart VCL/FMX v2023 [8 MAY 2023] RELEASE 2023.38.230308 BETA
Replies: 5
Views: 469

Re: TeeChart VCL/FMX v2023 [8 MAY 2023] RELEASE 2023.38.230308 BETA

Hello, Provides a way to create a grid of charts inside a chart. Derives from SubChart tool class and includes Rows and Columns properties I see the Chart Layout tool in the "Chart Tools Gallery": bds_2023-05-11_17-39-06.png You can see code using the Chart Layout at the ChartLayout_Demo and Spark_S...
by Yeray
Thu May 11, 2023 9:12 am
Forum: VCL
Topic: TeeChart VCL/FMX v2023 [8 MAY 2023] RELEASE 2023.38.230308 BETA
Replies: 5
Views: 469

Re: TeeChart VCL/FMX v2023 [8 MAY 2023] RELEASE 2023.38.230308 BETA

Hello,

Yes, we still have to correct a few things in the demos for the latest changes.
Sorry for that.
by Yeray
Tue May 09, 2023 12:57 pm
Forum: VCL
Topic: is HIGH function applicable for Candle chart?
Replies: 4
Views: 277

Re: is HIGH function applicable for Candle chart?

Hello,

Try to set a different period. Ie:

Code: Select all

  TeeFunction1.Period:=5;
by Yeray
Tue May 09, 2023 12:54 pm
Forum: VCL
Topic: Stepping as stacked area series to/from zero values
Replies: 15
Views: 1936

Re: Stepping as stacked area series to/from zero values

Hello,

Could you please draw what would you'd like to obtain in those situations where you are failing to obtain it?
You sent us a great project to test with 4 data scenarios. That's fantastic but I'm not sure to understand what's the goal in each of those scenarios.
by Yeray
Tue May 09, 2023 12:47 pm
Forum: VCL
Topic: first and last index of for instance HIGH function
Replies: 4
Views: 302

Re: first and last index of for instance HIGH function

Hello, You may have missed to add a DataSource to Series2 . Ie: Series1:=TCandleSeries(Chart1.AddSeries(TCandleSeries)); Series1.FillSampleValues; TeeFunction1:=THighTeeFunction.Create(Self); Series2:=TFastLineSeries(Chart1.AddSeries(TLineSeries)); Series2.DataSource:=Series1; Series2.SetFunction(Te...