I'm adding dinamically Infragistics.UltraChart.Core.Primitives.Text primitives to a UltraWebChart to replace default series labels using this code.
Point ptextCompName = new Point(X, Y); Infragistics.UltraChart.Core.Primitives.Text textCompName = new Text(ptextCompName, thetext); textCompName.labelStyle.Font = new Font("Open Sans", 10); textCompName.labelStyle.FontColor = Color.FromArgb(62, 62, 62); newsymbols.Add(textCompName);
The problem is that I cant set the boundaries of the text 'box container' to fit exactly the space I want to fill. The width of the text seems to be automatically calculated and is wrapped. Changing the size of the font changes algo the width of the final text, as you can see at the attachment. My goal is to fit the text at the space marked with a red box in the last example of the attachment.
I have tried changing the properties of the labaleStyle, setting all the combinations with wrap=false clip=true... but nothing seems to work
Any help would be geratly appreciated
Does anybody has a clue about this? I have tried everything, it seems it must be easy to set the boundaries of a text primitive but I can't find how to do it.
Hi endaliadev,
Did you still need a help for this. I have noticed that you have closed your support case CAS-134718-X8X0J5?