Print Page | Close Window

TextWrapping='Wrap' has no effect in Markup Titles

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18103
Printed Date: 21 November 2024 at 1:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TextWrapping='Wrap' has no effect in Markup Titles
Posted By: cpede
Subject: TextWrapping='Wrap' has no effect in Markup Titles
Date 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++)



Replies:
Posted By: Oleg
Date Posted: 23 March 2011 at 4:55am
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


Posted By: cpede
Date Posted: 23 March 2011 at 5:10am
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++)


Posted By: cpede
Date Posted: 31 March 2011 at 5:27am
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++)


Posted By: Oleg
Date Posted: 05 April 2011 at 4:07am
Hi,

Yes, Markup Events are not supported for Chart


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net