Graph parameters font size in TeeChart version 4.2022.7.14

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MVUser5
Newbie
Newbie
Posts: 3
Joined: Wed Jun 29, 2011 12:00 am

Graph parameters font size in TeeChart version 4.2022.7.14

Post by MVUser5 » Mon Jan 30, 2023 10:04 am

Lately, we upgraded the TeeChart version we are using in our product from TeeChart version 4.1.2012.9282 to version 4.2022.7.14 and it seems like the font size is a bit bigger in the newer version. Using the old version, the number of parameters that fit in one graph view is more than the number of parameters that fit the same graph using the new TeeChart version. Is there a change regarding the font size between the versions? Is there a way to adjust the font size?

We didn't change anything in our code other than replacing the TeeChart DLLs with the newer version and we are trying to understand why we are getting fewer parameters now in the graph and how we can fix it so we will see all the parameters the same as we got when using the old TeeChart version

MVUser5
Newbie
Newbie
Posts: 3
Joined: Wed Jun 29, 2011 12:00 am

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Post by MVUser5 » Tue Jan 31, 2023 8:51 am

After further investigation, it seems that the font size is the same but the gaps between the graph parameters are smaller in the newer version.
Is there a way to decrease the gaps between the graph parameters so more parameters will fit in the graph view?

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Post by Christopher » Tue Jan 31, 2023 12:07 pm

Hello!
MVUser5 wrote:
Tue Jan 31, 2023 8:51 am
After further investigation, it seems that the font size is the same but the gaps between the graph parameters are smaller in the newer version.
Is there a way to decrease the gaps between the graph parameters so more parameters will fit in the graph view?
TeeChart is very configurable, so I imagine there will be. What might be happening here is a change in the default theme—you might like to try the old theme, which is called 'Opera':

Code: Select all

    private TChart tChart1;

    public Form1()
    {
      InitializeComponent();

      tChart1 = new TChart();
      tChart1.Dock = DockStyle.Fill;
      this.Controls.Add(tChart1);


      tChart1.CurrentTheme = ThemeType.Opera;
    }
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

MVUser5
Newbie
Newbie
Posts: 3
Joined: Wed Jun 29, 2011 12:00 am

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Post by MVUser5 » Thu Feb 16, 2023 1:10 pm

Thanks for your reply.

We tried implementing your suggestion in different locations in the code but we didn't notice any improvement.
When using the VertSpacing property we managed to reduce the gaps between the parameters but there are many other locations where we are getting different GUI behavior compared to the previous TeeChart Version we used and handling them all manually will require lots of work and resources.
Considering the fact that all we did is to upgrade our TeeChart version, without changing anything in our code, I think we should not expect all these GUI issues that we are facing.

Do you have any other suggestions?
Do we have any other option than adjusting our code to fix all the GUI regression behavior we got as a result of upgrading the TeeChart version?

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Post by Christopher » Thu Feb 16, 2023 1:17 pm

Hello,
Do you have any other suggestions?
Do we have any other option than adjusting our code to fix all the GUI regression behavior we got as a result of upgrading the TeeChart version?
Which framework and which platform are you upgrading from/to? Are you upgrading from .NET Framework 4.x to .NET Core 6.0, for example? And if so, are you upgrading from Windows Forms to WPF, or ASP.NET to Blazor? Depending on your upgrade path, and given the magnitude of change in some of them, then some problems are to be expected when upgrading from a version which is nearly a decade old.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply