Search found 9507 matches
- 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: 12293
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...
- Tue Sep 12, 2023 7:43 am
- Forum: JavaScript / HTML5
- Topic: Unable find mouse click event on rectangle
- Replies: 9
- Views: 49422
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...
- Fri Sep 08, 2023 12:07 pm
- Forum: JavaScript / HTML5
- Topic: Unable find mouse click event on rectangle
- Replies: 9
- Views: 49422
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.
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.
- 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: 12293
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...
- Mon Sep 04, 2023 2:08 pm
- Forum: VCL
- Topic: Design issue: use one tchart component or several?
- Replies: 1
- Views: 16575
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...
- Mon Sep 04, 2023 1:52 pm
- Forum: VCL
- Topic: Legend box always truncate the last line....
- Replies: 2
- Views: 11275
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 ...
- Mon Sep 04, 2023 1:44 pm
- Forum: VCL
- Topic: Font Sizes in Charts
- Replies: 7
- Views: 24580
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...
- 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: 13947
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.
This is just to let you know I've just fixed the #2627.
So the next maintenance release will include it.
- Fri Aug 25, 2023 1:24 pm
- Forum: VCL
- Topic: Font Sizes in Charts
- Replies: 7
- Views: 24580
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.
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
I've edited it, but you should be able to modify it here.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).
- 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: 31456
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...
- Fri Aug 25, 2023 6:47 am
- Forum: FMX
- Topic: TTriSurface hardware accelaration
- Replies: 11
- Views: 31395
Re: TTriSurface hardware accelaration
Hello Gabriel,
Sorry for the delayed reply here.
This is just to confirm only these environments use the GPU:
- VCL + OpenGL
- FMX + TChart3D
We are still experimenting with Skia canvas.
Sorry for the delayed reply here.
This is just to confirm only these environments use the GPU:
- VCL + OpenGL
- FMX + TChart3D
We are still experimenting with Skia canvas.
We'll take a look at that.Gabriel, A. TAOUSSI wrote: ↑Mon Aug 07, 2023 8:06 amUnfortunately, within a Chart3D, trisurfaces don't render at all on my machine.
- Wed Aug 23, 2023 2:12 pm
- Forum: VCL
- Topic: Displaying charts on TeePreviewPanel
- Replies: 7
- Views: 14110
Re: Displaying charts on TeePreviewPanel
Hello, As an alternative to that workaround, forcing the charts to be drawn works fine for me: procedure TForm1.BPrintPreviewClick(Sender: TObject); var preview: TChartPreview; i: Integer; begin Charts[0].PrintMargins:=Rect(2,2,2,76); Charts[1].PrintMargins:=Rect(2,25,2,51); Charts[2].PrintMargins:=...
- Wed Aug 23, 2023 1:57 pm
- Forum: VCL
- Topic: c++builder How to prohibit dragging legends
- Replies: 14
- Views: 20879
Re: c++builder How to prohibit dragging legends
Sorry, in what example?wrote: ↑Tue Aug 08, 2023 1:22 amHow to prevent the legend from being dragged during the chartmousemove event, as shown in the following example???
- Wed Aug 23, 2023 8:12 am
- Forum: VCL
- Topic: Installing from source: TVisualBlock undefined
- Replies: 4
- Views: 12777
Re: Installing from source: TVisualBlock undefined
Hello,
We've just open sourced TeeMaker (find it here) and we've removed it from TeeRecompile (this will be available in the next release).
We've just open sourced TeeMaker (find it here) and we've removed it from TeeRecompile (this will be available in the next release).
- Thu Aug 03, 2023 11:17 am
- Forum: VCL
- Topic: Displaying charts on TeePreviewPanel
- Replies: 7
- Views: 14110
Re: Displaying charts on TeePreviewPanel
Regarding the second question, you could implement the OnAfterDraw of the TeePreviewPanel1 as follows: with preview.TeePreviewPanel1 do begin //... OnAfterDraw:=PreviewAfterDraw; end; procedure TForm1.PreviewAfterDraw(Sender: TObject); begin with TTeePreviewPanel(Sender).Canvas do begin Font.Height ...