Search found 115 matches

by bdw
Wed Mar 27, 2024 3:29 am
Forum: VCL
Topic: v2023.39 (231109) y-axis label issue
Replies: 6
Views: 30986

Re: v2023.39 (231109) y-axis label issue

Ok I have a work around for the present time.
I check the ClientHeight and when its less than 200pixel I set Increment=0 (which is automatic by my testing) for graphs with max - min height < 200 units.
Greater than 200 height units I just set Increment=0
by bdw
Tue Mar 26, 2024 11:03 pm
Forum: VCL
Topic: v2023.39 (231109) y-axis label issue
Replies: 6
Views: 30986

Re: v2023.39 (231109) y-axis label issue

Ok I've tested with the two TChart version listed previously and as you can see with the same code the graphs look quite different.
Top one is v2021.x and bottom v2023.x
by bdw
Tue Mar 26, 2024 9:09 pm
Forum: VCL
Topic: v2023.39 (231109) y-axis label issue
Replies: 6
Views: 30986

Re: v2023.39 (231109) y-axis label issue

Only just had a chance to re-look at what the code we have is doing. We also have the Axis.Left.Increment := 1 set in this case to try and reduce the number of y-axis labels rather than automatic. With that setting in the past it still kept the y-axis labels clean rather than having the in the examp...
by bdw
Fri Mar 22, 2024 9:28 pm
Forum: VCL
Topic: v2023.39 (231109) y-axis label issue
Replies: 6
Views: 30986

Re: v2023.39 (231109) y-axis label issue

Thanks Yeray.
I'll have to dig into the code some more to see what is causing the difference and get back to you.
I was assuming exactly the same code base on our side but will dig some more.
by bdw
Wed Mar 20, 2024 11:03 pm
Forum: VCL
Topic: v2023.39 (231109) y-axis label issue
Replies: 6
Views: 30986

v2023.39 (231109) y-axis label issue

Hi, I've just upgraded from 2021.32.210430 to v2023.39 (231109) which seems to have a y-axis drawing difference. As the image shows attached the left graph has for example 60.48 on the y-axis while on the previous version this would be 64, 56, 48 etc. Axis min = 0 and max = 65. It draws correctly wi...
by bdw
Tue May 26, 2020 10:05 pm
Forum: VCL
Topic: How do create a working instance of TChart using GDI+ in runtime, in a non main thread
Replies: 3
Views: 16067

Re: How do create a working instance of TChart using GDI+ in runtime, in a non main thread

To assign a GDI canvas in C++ its :-
graph_->Canvas = new TTeeCanvas3D;

So probably something like in Pascal (just going by memory) :-
graph_.Canvas := TTeeCanvas3D.Create();
by bdw
Mon Feb 18, 2019 9:10 pm
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

Re: TDonutSeries with DonutPercent

Only just had time to verify and yes that seems to have sorted it.

Much appreciated.
by bdw
Wed Feb 13, 2019 4:34 am
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

Re: TDonutSeries with DonutPercent

In our actual application it does not draw correctly with those settings unless GDI+ is used. I removed in our code :- // graph_->Canvas = new TTeeCanvas3D; I have not been able to replicate that in a test application though, so not sure why on this aspect. We had been using GDI due to speed issue w...
by bdw
Wed Feb 13, 2019 3:17 am
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

Re: TDonutSeries with DonutPercent

Ok looks like its been a bug since v24 and been around for quite a while.

http://bugs.teechart.net/show_bug.cgi?id=2031

Same issue looks like work around is to make 3D and set the following :-

Chart1->Chart3DPercent = 0;
Chart1->Aspect->Elevation = 0;
by bdw
Wed Feb 13, 2019 2:22 am
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

Re: TDonutSeries with DonutPercent

Image example :-
by bdw
Wed Feb 13, 2019 2:20 am
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

Re: TDonutSeries with DonutPercent

Actually just realized when I was playing around I had changed the Series1 to a TPieSeries.

When I change that back to a TDonutSeries it draws all together as well.

But question is the same, why is the dount not spread around the series ?

If I turn on 3D it displays correctly but not when 2D ?
by bdw
Wed Feb 13, 2019 2:09 am
Forum: VCL
Topic: TDonutSeries with DonutPercent
Replies: 6
Views: 23695

TDonutSeries with DonutPercent

Hi, Just trying to work out an issue I'm getting with the TDonutSeries when using the DonutPercent value which used to display correctly on an older TChart version but getting an issue with v2018.26.181203. Code example is :- TDonutSeries* d = new TDonutSeries(Chart1); d->Add(20); d->Add(10); d->Add...
by bdw
Wed Nov 21, 2018 11:57 pm
Forum: VCL
Topic: Had to ask sorry Rio 10.3 release and TChart ?
Replies: 4
Views: 26566

Re: Had to ask sorry Rio 10.3 release and TChart ?

Can answer the v2018.25 as just tried recompilation tool and the answer is no not detected.

Hadn't had a chance to install that version yet so was just being optimistic.
by bdw
Wed Nov 21, 2018 11:45 pm
Forum: VCL
Topic: Had to ask sorry Rio 10.3 release and TChart ?
Replies: 4
Views: 26566

Had to ask sorry Rio 10.3 release and TChart ?

Hey Guys,

Seems we have a 10.3 Rio release today, just in the process of installing.

Just wondering of the state for TChart support ?

Does 2018.25.180808 source version support this ?
by bdw
Thu Dec 28, 2017 8:07 pm
Forum: VCL
Topic: Charts and series with no weekends
Replies: 2
Views: 12038

Re: Charts and series with no weekends

Thanks marc, I new there was one around, finding it was the issue.