Search found 128 matches

by bairog
Tue Sep 26, 2023 5:44 am
Forum: .NET
Topic: What is the latest version that fully supports .NET 5.0?
Replies: 1
Views: 9725

What is the latest version that fully supports .NET 5.0?

Hello. In some of our projects we are limited to .NET 5.0. What is the latest version that fully supports it? Version 4.2023.4.13 is the last one that targets .NET 5.0 directly . Version 4.2023.4.18 drops .NET 5.0 target but still target .NETCoreApp 2.0 and .NETCoreApp 3.1 - so technically I can ins...
by bairog
Tue Sep 26, 2023 4:59 am
Forum: .NET
Topic: Incorrect left axis position when changing labels text with GetAxisDrawLabel event
Replies: 4
Views: 11475

Re: Incorrect left axis position when changing labels text with GetAxisDrawLabel event

We recommend to use the Axis Labels CustomSize property: tChart1.Axes.Left.FixedLabelSize = false; tChart1.Axes.Left.Labels.CustomSize = 80; To determine Axes.Left.Labels.CustomSize value that I need I am to measure axis label size in pixels somehow (that value is in pixels, right?). Respecting axi...
by bairog
Tue Sep 26, 2023 4:52 am
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

If you wish to use Framework 4.0, we confirm that TeeChart v4.2023.4.18 works correctly on Winform for both a designtime and runtime chart. I confirm that versions up to and including v4.2023.8.3 work correctly (out-of-the box, no extra steps are necessary) on .NFW 4.0 for both a designtime and run...
by bairog
Mon Sep 25, 2023 1:09 pm
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

The latest version that supports .NET 4.0 is "4.2023.4.18", should work fine in that version. What do you mean? As you can see from my previous post new application for NFW 4.0 is not compiling both in VS 2022 and VS 2019. We need to increase the minimum required version for the package. Thank you....
by bairog
Mon Sep 25, 2023 9:46 am
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

The NFW4.0 version is deprecated, so it's likely that many things won't work. Currently, the minimum version is NFW4.8. Latest Steema.TeeChart.NET 4.2023.8.31 nuget targets .NET Framework 4.0 among others. Targeting means that package is stably working and supported on that TFM, isn't it? Support c...
by bairog
Mon Sep 25, 2023 5:19 am
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

Hmm, 5 days have passed (a full 3 business days) - still no reaction. Very disappointing..
by bairog
Mon Sep 25, 2023 5:18 am
Forum: .NET
Topic: Incorrect left axis position when changing labels text with GetAxisDrawLabel event
Replies: 4
Views: 11475

Re: Incorrect left axis position when changing labels text with GetAxisDrawLabel event

Hmm, 5 days have passed (a full 3 business days) - still no reaction. Very disappointing..
by bairog
Wed Sep 20, 2023 5:54 am
Forum: .NET
Topic: Incorrect left axis position when changing labels text with GetAxisDrawLabel event
Replies: 4
Views: 11475

Incorrect left axis position when changing labels text with GetAxisDrawLabel event

Hello. I use latest Steema.TeeChart.NET 4.2023.8.31 in my WinForms App targeting .NET Framework 4.8 (I use latest VS Enterprise 2022 17.7.4 ). I have two charts on my form: on charts I display same set of hours (0 .. 9) as bars, but on 2nd chart I convert hours to seconds (*3600). Because on 2nd cha...
by bairog
Wed Sep 20, 2023 5:11 am
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

After adding TeeChart via Nuget, look for Microsoft's "System.Text.Json" in the Nuget Manager and install it. The latest version is v7.03. So when targeting .NET Framework 4.8 : workaround solves the problem in VS 2022 17.7.4 workaround doesn't NOT solve the problem in VS 2019 16.11.30 : https://i....
by bairog
Tue Sep 19, 2023 2:49 pm
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 14888

A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

Hello. I wanted to create a new application to demonstrate left axis strange behavior but I failed at the very beginning :( I use latest Visual Studio Enterprise 2022 17.7.4 and latest Steema.TeeChart.NET 4.2023.8.31 nuget package. For WinForms App targeting .NET Framework 4.0 it is no even compilin...
by bairog
Wed Aug 09, 2023 6:34 am
Forum: .NET
Topic: Howto make automatic labels of the left axis be a multiple of some value
Replies: 16
Views: 28303

Re: Howto make automatic labels of the left axis be a multiple of some value

Thank you for your help. I ended up using a modified version of your code.
by bairog
Fri Aug 04, 2023 8:40 am
Forum: .NET
Topic: Howto make automatic labels of the left axis be a multiple of some value
Replies: 16
Views: 28303

Re: Howto make automatic labels of the left axis be a multiple of some value

Unfortunately with this code labels count can greatly exceed max_labels value. For example for _max = 5300 the are 30 labels:
Безымянный.png
Безымянный.png (69.46 KiB) Viewed 17060 times
by bairog
Fri Aug 04, 2023 7:00 am
Forum: .NET
Topic: Howto make automatic labels of the left axis be a multiple of some value
Replies: 16
Views: 28303

Re: Howto make automatic labels of the left axis be a multiple of some value

A more generic solution would be: Your code is not working very well when _max / _increment is close to a multiple of max_labels but is slightly less. In your specific example ( max_labels = 20 and _increment = 175 ) you can just set _max = 13900 (13900 / 175 = 79.428 ) and get the following pictur...
by bairog
Wed Aug 02, 2023 8:10 am
Forum: .NET
Topic: Howto make automatic labels of the left axis be a multiple of some value
Replies: 16
Views: 28303

Re: Howto make automatic labels of the left axis be a multiple of some value

I have done further testing and found that your code does not always work correctly. I you change 125 to 350 and set max = 8000 - it is ok: Безымянный.png But you set max = 9000 (and more) - most labels are not multiples of 350 : Безымянный1.png I've expected auto labels to be set to a multiple of 3...
by bairog
Wed Aug 02, 2023 8:05 am
Forum: .NET
Topic: Howto make automatic labels of the left axis be a multiple of some value
Replies: 16
Views: 28303

Re: Howto make automatic labels of the left axis be a multiple of some value

But I would like to see function/property description right into IntelliSense. Could you share TeeChart.xml please.