Study Labels Wrapping Text in V7.0B6

PJP

New member
Joined
Aug 17, 2024
Posts
4
Likes
1
Hi All,
I have my Java/SDK training wheels bolted on. They are still rather new.
I am hoping someone might be able to shine some light on my issue.
I have a couple of overlay studies which I wrote, that place lines and labels on a chart. These were working just fine in V6. ie. each text line in the label is on one line.
However in V7 the text is being wrapped on what appears to be a random basis. Thus far I have not been able to find out what has changed and how to resolve it.
Two pics attached one from version 6 and the second V7.
I have recompiled for V7 (jdk-24).
With thanks.

Label MW Version 6.9.12.PNGLabel MW Version 7.0B6.jpg
 
Thanks Igor. Appreciate your reply.
That was my starting attempt. They told me to post my request for support here on the forum.
Is somewhat frustrating.
P.
 
Check the API if there is a default parameter to wrap the text that needs to be overwritten.
 
Thanks Igor,
I have searched for a while with no result.
You never know, maybe MotiveWave Support might provide some actual support.
Here's hoping!
P.
 
Problem solved.
I simply added a single space at end of each line.
eg. String value =(formatter.format(dollars)) + " ";
 
Top