Search found 9527 matches

by Yeray
Wed Oct 04, 2023 9:39 am
Forum: VCL
Topic: Stepping as stacked area series to/from zero values
Replies: 22
Views: 32895

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

Hello, Then, you want illustration #1 to look like in "method 2". Project1_2023-10-04_11-29-39.png The last down step in the red area is a problem? If it's a problem, how would you draw it? The sum of data at point x=22 is 9.163,97+8.906,34+815,17=18.885,48, while the sum of data at the last point (...
by Yeray
Wed Sep 27, 2023 1:11 pm
Forum: VCL
Topic: Can't find a property for a color...
Replies: 1
Views: 10924

Re: Can't find a property for a color...

Hello John,

It could be the left and bottom axis pen, or it could be the back wall.
You can open the form in text mode and try to find what properties have you set in that chart at design-time.
by Yeray
Thu Sep 21, 2023 8:09 am
Forum: VCL / FMX
Topic: TeeGrid color questions
Replies: 8
Views: 13292

Re: TeeGrid color questions

Hello,

You can use properties under Header.Format.Brush. Note you may need to hide the Gradient so the Solid Brush can be drawn. Ie:

Code: Select all

  TeeGrid1.Header.Format.Brush.Gradient.Hide;
  TeeGrid1.Header.Format.Brush.Color:=clGreen;
by Yeray
Thu Sep 14, 2023 8:20 am
Forum: VCL
Topic: Posting marks left or right for a TPoint3DSeries
Replies: 1
Views: 12560

Re: Posting marks left or right for a TPoint3DSeries

Hello Jan, I'm not sure how are you exactly drawing your TPoint3DSeries but here it is an example showing a simple one with all the points with the same XValue . Here what I'm getting: VerticalPoint3D_Marks.png uses TeEngine, Chart, TeePoin3; var Chart1: TChart; procedure TForm1.FormCreate(Sender: T...
by Yeray
Wed Sep 13, 2023 10:34 am
Forum: VCL
Topic: Font Sizes in Charts
Replies: 7
Views: 25262

Re: Font Sizes in Charts

I see removing the Showing condition at TCustomTeePanel.ChangeScale at {VCLTee.}TeeProcs.pas unit fixes it, but I have to check for any collateral damages: procedure TCustomTeePanel.ChangeScale(M, D: Integer{$IFDEF D24}; isDpiChange: Boolean{$ENDIF}); //... if not (csLoading in ComponentState) and ...
by Yeray
Tue Sep 12, 2023 10:22 am
Forum: VCL
Topic: TChart Line Chart Series with DrawStyle Curve Dips Below Zero - How to Fix?
Replies: 3
Views: 12939

Re: TChart Line Chart Series with DrawStyle Curve Dips Below Zero - How to Fix?

Hello, I've tried with a custom cubic spline, but it doesn't give the result I'd expect: Project3_2023-09-12_12-21-08.png uses Chart, Series; var Chart1: TChart; type TCoeficient = record X, Y, b, c, d: Double; end; type TCoeficients = array of TCoeficient; type TPoints = array of TPointFloat; proce...
by Yeray
Tue Sep 12, 2023 7:43 am
Forum: JavaScript / HTML5
Topic: Unable find mouse click event on rectangle
Replies: 9
Views: 51117

Re: Unable find mouse click event on rectangle

Hello, In that case you should do something like this in your event listener: const body = document.body; body.addEventListener('click', function(evt) { for (let i = 0; i < this.data.length-1; i++) { const x1 = this.axes.bottom.calc(this.data[i]); const x2 = this.axes.bottom.calc(this.data[i+1]); co...
by Yeray
Fri Sep 08, 2023 12:07 pm
Forum: JavaScript / HTML5
Topic: Unable find mouse click event on rectangle
Replies: 9
Views: 51117

Re: Unable find mouse click event on rectangle

Hello,

I'm not sure how are you exactly drawing those rectangles, but here's an example of detecting a mouse click on a drawn ellipse.
by Yeray
Wed Sep 06, 2023 9:41 am
Forum: VCL
Topic: TChart Line Chart Series with DrawStyle Curve Dips Below Zero - How to Fix?
Replies: 3
Views: 12939

Re: TChart Line Chart Series with DrawStyle Curve Dips Below Zero - How to Fix?

Hello, I'd say this is something to expect if you want the curve to pass through the points. If you don't need the curve to pass though the points, you can use a TSmoothingFunction with Interpolate:=false as follows: uses Chart, Series, TeeSpline; var Chart1: TChart; procedure TForm1.FormCreate(Send...
by Yeray
Mon Sep 04, 2023 2:08 pm
Forum: VCL
Topic: Design issue: use one tchart component or several?
Replies: 1
Views: 17161

Re: Design issue: use one tchart component or several?

Hello, That's an interesting design decision for your application that can be considered for any component, not just specifically for TeeChart. I'd say it's more elegant and consistent (and less error prone) to reuse a classes/components, but you will probably want to also consider the cost (time in...
by Yeray
Mon Sep 04, 2023 1:52 pm
Forum: VCL
Topic: Legend box always truncate the last line....
Replies: 2
Views: 11922

Re: Legend box always truncate the last line....

Hello Tor, The line series is drawn as a line in the legend. This is the expected behaviour. You can fully customize the legend symbols as shown in the example here . Or, if you just want to show a square for a line series, you can "hack" it: just add an dummy bar series with no data; set its title ...
by Yeray
Mon Sep 04, 2023 1:44 pm
Forum: VCL
Topic: Font Sizes in Charts
Replies: 7
Views: 25262

Re: Font Sizes in Charts

Hello, Sorry for the delayed reply here. Problem #1: Fonts are the wrong size: 1) Start the app on a monitor with normal DPI. The "Chart #1" tab page should be showing. 2) Without changing pages, drag the application to a monitor with 200% DPI. 3) Switch to the "Chart #2" tab page. You should see th...
by Yeray
Fri Aug 25, 2023 2:51 pm
Forum: VCL
Topic: Mouse move on series trigers wrong legend when not all series are active
Replies: 5
Views: 14658

Re: Mouse move on series trigers wrong legend when not all series are active

Hello Marcel,

This is just to let you know I've just fixed the #2627.
So the next maintenance release will include it.
by Yeray
Fri Aug 25, 2023 1:24 pm
Forum: VCL
Topic: Font Sizes in Charts
Replies: 7
Views: 25262

Re: Font Sizes in Charts

Hello Ed,

Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Ed Dressel wrote:
Thu Aug 24, 2023 10:17 pm
(And I accidently spelt my last name incorrectly when I logged in and it won't let me fix it).
I've edited it, but you should be able to modify it here.
by Yeray
Fri Aug 25, 2023 10:06 am
Forum: VCL / FMX
Topic: 'A class named TInvertFilter already exists' error in TeeChart Pro 2022.35
Replies: 4
Views: 33571

Re: 'A class named TInvertFilter already exists' error in TeeChart Pro 2022.35

Hello Tammy, I previously was using the TeeChart that came with Rad11.3 Delphi, but couldn't access tech support or the forum unless I bought it directly from Steema. So I bought it, and downloaded the latest and now I just need to get some help on this (guidance or bug fix). We also give support th...