TextWrapping='Wrap' has no effect in Markup Titles |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 22 March 2011 at 4:39pm |
It seems that simple Markup works for the chart Titles. <TextBlock>, <StackPanel>, <Bold> etc.
But if a very long text is entered <TextBlock TextWrapping='Wrap'> has no effect.
cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, when Title calculate width of text, it doesn't try to fit in width of screen. As workaround you can manually set what maxSize you need for title: <TextBlock MaxWidth="120" TextWrapping='Wrap'><Bold>Chart Control</Bold> <Run>supports</Run> <Run Foreground='Green'>Titles</Run> </TextBlock> |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
I cannot see any reason for not adjusting the size of the titles to the size of the chart control window. I think you should consider making a fix for that, it would be much more logical.
It would also be nice if it was possible to position the titles more freely, using a start x.y and a width and height?
cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
Another thing that would be extremely useful for me, is to be able to add e.g. markup buttons. Now markup buttons appear in the top left corner always. and I don't think that I can set up and get delegate events from them?
-cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, Markup Events are not supported for Chart
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |