Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6242265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:55:24+00:00 2026-05-24T11:55:24+00:00

My project currently has a PieChart with a legend. Due to size restrictions I

  • 0

My project currently has a PieChart with a legend. Due to size restrictions I was asked to make a modification where if you hover over the name in the legend, it would display the full name (in the event that it was partially cut off). This revealed to me the issue that if you want to make a minor functional change in a Telerik control you will have to develop a complete style for it.

I feel like there is no easy answer for this, so I figured I’d ask and see if a smartypants figured something clever out. We use lots of Telerik control so if I could take control of them with something like that without having to completely redo them, it would give me a huge amount of control over my interface’s more advanced features.

As a note, we are currently using version 2011.1.315.1040, I tried updating to the newest version today but it seems that they altered a control we use often, so I’d prefer to not have to update unless there is really a benefit since there will be a lot of reworking required.

An example style on telerik’s website for what I was attempting to modify can be found here

Here is the piechart we are using as an example.

<telerik:RadChart Name="CoreChart" 
                          VerticalAlignment="Top" 
                          PaletteBrushesUseSolidColors="True" 
                          PaletteBrushesRepeat="True" 
                          BorderBrush="Transparent" 
                          Background="Transparent" 
                          BorderThickness="0">
    <telerik:RadChart.PaletteBrushes>
        <SolidColorBrush Color="#93d2ff" />
        <SolidColorBrush Color="#ce0013" />
    </telerik:RadChart.PaletteBrushes>
    <telerik:RadChart.SeriesMappings>
        <telerik:SeriesMapping>
            <telerik:ItemMapping FieldName="Value" DataPointMember="YValue" />
            <telerik:ItemMapping FieldName="Title" DataPointMember="LegendLabel" />
            <telerik:SeriesMapping.SeriesDefinition>
                <telerik:PieSeriesDefinition ShowItemLabels="False"  
                         ShowItemToolTips="True" 
                         ItemToolTipFormat="{Binding ToolTipFormat}">
                    <telerik:PieSeriesDefinition.InteractivitySettings>
                        <telerik:InteractivitySettings SelectionMode="Single"  
                                  SelectionScope="Item" HoverScope="None"/>
                    </telerik:PieSeriesDefinition.InteractivitySettings>
                </telerik:PieSeriesDefinition>
            </telerik:SeriesMapping.SeriesDefinition>
        </telerik:SeriesMapping>
    </telerik:RadChart.SeriesMappings>

    <telerik:RadChart.DefaultView>
        <telerik:ChartDefaultView ChartLegendPosition="Right" >
            <telerik:ChartDefaultView.ChartArea>
                <telerik:ChartArea HorizontalAlignment="Left" LegendName="ChartLegend"
                         BorderBrush="Transparent" EnableAnimations="True" 
                         Background="Transparent" >
                    <telerik:ChartArea.AxisX>
                        <telerik:AxisX AxisLabelsVisibility="Collapsed" />
                    </telerik:ChartArea.AxisX>
                </telerik:ChartArea>
            </telerik:ChartDefaultView.ChartArea>
            <telerik:ChartDefaultView.ChartLegend >
                <telerik:ChartLegend x:Name="ChartLegend" Style="{StaticResource 
                       ChartLegendStyle}" LegendItemMarkerShape="Square" Header="" 
                       BorderThickness="0" Background="Transparent"
                       BorderBrush="Transparent" Width="150" />
            </telerik:ChartDefaultView.ChartLegend>
        </telerik:ChartDefaultView>

    </telerik:RadChart.DefaultView>
</telerik:RadChart>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:55:25+00:00Added an answer on May 24, 2026 at 11:55 am

    The way the control is built, you’ll have to have a style with a ControlTemplate for the ChartLegendItem. In the link for Telerik’s documentation there is a TextBlock named “PART_TextBlock”. Change it to look like this:

    <TextBlock x:Name="PART_TextBlock"
               Grid.Column="1"
               Foreground="{TemplateBinding Foreground}"
               Margin="{TemplateBinding Margin}"
               Padding="{TemplateBinding Padding}"
               Text="{TemplateBinding Label}"
               TextTrimming="CharacterEllipsis"
               ToolTipService.ToolTip="{Binding Text, RelativeSource={RelativeSource Self}}" />
    

    In the instance of ChartLegend

    <telerik:ChartLegend x:Name="ChartLegend" 
                         .....
                         LegendItemStyle="{StaticResource MyLegendItemStyle}" />
    

    This will save you the need for a style of a Legend.

    Another tip, to get all default styles of Telerik’s controls, go to c:\Program Files (x86)\Telerik\RadControls for Silverlight Q1 2011\Themes – there’s a solution there that has all the styles of all the themes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The project currently I'm working has the following code in the view: <%= product.provider.name
I'm working on a project that currently has zero users but we would like
The project currently has a UIviewController called Dashboard that acts as the main view
I'm currently fixing a JSP project and it currently has a seemingly random collection
I'm currently working on a project that has a svn repository. I'm used to
I'm currently working on a project that has a sizable amount of both client
I currently have two different models: User and Project . The User model has
I am currently on a short research project. The company I work at has
I have an Xcode project. The project currently has four targets, and I am
The project I am currently working on has, in the checkout, an option to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.