Page 1 of 1

Graph parameters font size in TeeChart version 4.2022.7.14

Posted: Mon Jan 30, 2023 10:04 am
by 15659705
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

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Posted: Tue Jan 31, 2023 8:51 am
by 15659705
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?

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Posted: Tue Jan 31, 2023 12:07 pm
by Christopher
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;
    }

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Posted: Thu Feb 16, 2023 1:10 pm
by 15659705
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?

Re: Graph parameters font size in TeeChart version 4.2022.7.14

Posted: Thu Feb 16, 2023 1:17 pm
by Christopher
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.