This is a migrated thread and some comments may be shown as answers.

Simple Point Label question:

2 Answers 43 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Daniel Brooks
Top achievements
Rank 1
Daniel Brooks asked on 08 Dec 2009, 09:57 PM
This is probably simple enough, though i can't seem to figure it out in a timely fashion.  I need my labels , which show up above a bar (bar graph-type), to show ON the bar itself, like it is shown in many of the documentation screens :
http://www.telerik.com/help/silverlight/radchart-general-information-visual-structure.html

Also, is there a function built-in that would keep the Point Label of the bar in view of the user even if the bar extends off of the chart?  I assume this would be fixed with placing the label *on* the bar itself, as shown in the link above.

Thanks,

Daniel

2 Answers, 1 is accepted

Sort by
0
Daniel Brooks
Top achievements
Rank 1
answered on 09 Dec 2009, 09:35 PM
sorry to bump, but i can't find a simple reference to this in the docs.

Ha.  It was someone's style applied to it.  sigh.
0
Ves
Telerik team
answered on 10 Dec 2009, 08:40 AM
Hi Daniel,

It seems you have figured it out. Just for the record -- the bar labels are inside the bars by default. A style like this would move them outside:

<Style x:Key="LabelStyle" TargetType="chart:SeriesItemLabel">
                <Style.Setters>
                    <Setter Property="Canvas.Top" Value="-25" />
                </Style.Setters>
            </Style>

Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart
Asked by
Daniel Brooks
Top achievements
Rank 1
Answers by
Daniel Brooks
Top achievements
Rank 1
Ves
Telerik team
Share this question
or