Strange characters in axis labels.
Re: Strange characters in axis labels.
Hi Tony,
Excuse us for the delay with this issue.
We've seen that in some machines "\n\r" works fine, while in others "\r". We are investigating if this could be something related to the each machine "regional settings".
Excuse us for the delay with this issue.
We've seen that in some machines "\n\r" works fine, while in others "\r". We are investigating if this could be something related to the each machine "regional settings".
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Strange characters in axis labels.
Let me know if you want any of the settings on my machine (or if you want me to test anything).
Re: Strange characters in axis labels.
Hi Tony,
first of all sorry for delay, we've been doing some tests here, with differents OS and Visual Studio versions. At the end we've only been able to reproduce the problem in a Windows 7 (64 bits), all the other test have worked fine.
Which OS are you using ? any 64 ?
If that the case, for the moment we can cosider it as a bug (or nor support for this), so we'll try to find a workaround and solution.
Please, let us know the OS you're using to compare.
Thanks.
first of all sorry for delay, we've been doing some tests here, with differents OS and Visual Studio versions. At the end we've only been able to reproduce the problem in a Windows 7 (64 bits), all the other test have worked fine.
Which OS are you using ? any 64 ?
If that the case, for the moment we can cosider it as a bug (or nor support for this), so we'll try to find a workaround and solution.
Please, let us know the OS you're using to compare.
Thanks.
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: Strange characters in axis labels.
I'm running Windows XP x32. All service packs and updates are applied.
Re: Strange characters in axis labels.
Hello,
We've been running this test on various machines, the problem isn't showing anywhere. I see a report earlier in the log that '\r' provoked a problem here on a Windows 7 machine but I can't provoke the error now, not even on the same machine, the line returns are clean without unwelcome characters in any case or platform. We'll continue to try to provoke the problem.
Our machines are generally standard English language Windows installations, no special additions. The kind of problem you describe is a frequent IT challenge across multiple environments, a quick search on the search engines affirms that. It is not an isolated case. Why is that happening for text passing into TeeChart for your environment .. we're not sure yet. I'm sorry we're not able to give you a solution yet, but the problem is not occurring for us to be able to attempt any resolution. A question though, if you set that same text to a text variable, and output it to a Label on your form, does the same character show up?
With thanks.
Regards,
Marc Meumann
We've been running this test on various machines, the problem isn't showing anywhere. I see a report earlier in the log that '\r' provoked a problem here on a Windows 7 machine but I can't provoke the error now, not even on the same machine, the line returns are clean without unwelcome characters in any case or platform. We'll continue to try to provoke the problem.
Our machines are generally standard English language Windows installations, no special additions. The kind of problem you describe is a frequent IT challenge across multiple environments, a quick search on the search engines affirms that. It is not an isolated case. Why is that happening for text passing into TeeChart for your environment .. we're not sure yet. I'm sorry we're not able to give you a solution yet, but the problem is not occurring for us to be able to attempt any resolution. A question though, if you set that same text to a text variable, and output it to a Label on your form, does the same character show up?
With thanks.
Regards,
Marc Meumann
Steema Support
Re: Strange characters in axis labels.
I'm using Visual C++ 2008.
I've got a dialog where a user can type in a label. Just a standard edit box. If they put in multiple lines, the funny characters show up when I pass the string to TChart.
The sample you uploaded (http://www.steema.us/files/public/support/C++AXTest.zip) gives exactly the same behaviour.
I've got a dialog where a user can type in a label. Just a standard edit box. If they put in multiple lines, the funny characters show up when I pass the string to TChart.
The sample you uploaded (http://www.steema.us/files/public/support/C++AXTest.zip) gives exactly the same behaviour.
Re: Strange characters in axis labels.
I can save and upload the chart file if that helps.
Re: Strange characters in axis labels.
Hello,
Re.
In the following case on test here all texts are identical (input and output) (here using Axis Title, not a Label):
Typing textBox1 with:
Marc
Re.
...and if you output that to a Label does that character appear?If they put in multiple lines, the funny characters show up when I pass the string to TChart.
In the following case on test here all texts are identical (input and output) (here using Axis Title, not a Label):
Code: Select all
private: System::Void button1_Click_1(System::Object^ sender, System::EventArgs^ e) {
label1->Text = textBox1->Text;
axTChart1->Axis->Bottom->Title->Caption = label1->Text;
}
Regards,hello
world
Marc
Steema Support
Re: Strange characters in axis labels.
Yes it does appear.
Re: Strange characters in axis labels.
Hello,
Simplifying the issue, we could take the Chart out of the equation and work on getting multiline text from a TextBox to a Label without showing the character. The character doesn't appear here on tests so as we're working with the same test projects it's likely a machine config issue.
Looking at regional settings on the test machine here it's a completely standard US English config, I can't see anything obvious that you could take a look at. Test machines Win2008 and WinXP. Does the problem occur on other machines at your location?
VSNET2008 version revision here: 9.0.30729.1
Regards,
Marc
Simplifying the issue, we could take the Chart out of the equation and work on getting multiline text from a TextBox to a Label without showing the character. The character doesn't appear here on tests so as we're working with the same test projects it's likely a machine config issue.
Looking at regional settings on the test machine here it's a completely standard US English config, I can't see anything obvious that you could take a look at. Test machines Win2008 and WinXP. Does the problem occur on other machines at your location?
VSNET2008 version revision here: 9.0.30729.1
Regards,
Marc
Steema Support
Re: Strange characters in axis labels.
It looks like it might be my machine.
Running it on Vista x64 it's fine. And on another XP machine it is fine.
It's the \n that causes the problems for me. I'll see if I can find some more info on Google and post back the solution (if I can find one).
Tony.
Running it on Vista x64 it's fine. And on another XP machine it is fine.
It's the \n that causes the problems for me. I'll see if I can find some more info on Google and post back the solution (if I can find one).
Tony.