Telerik Forums
UI for WPF Forum
5 answers
752 views
Hello,

I have a RadChartView Pie Chart where I bound to a collection of objects. My issue is with the spacing on the data point labels. See the attached image for an example. Is there any properties that can override the label location like Excel can do?

Here is my chart definition:

<telerik:RadPieChart x:Name="SalesByFamilyChart" Palette="Windows8" Grid.Row="1">
    <telerik:PieSeries ShowLabels="True" ItemsSource="{Binding SalesByFamilyPieData}" ValueBinding="Amount" RadiusFactor="0.8">
        <telerik:PieSeries.LabelDefinitions>
            <telerik:ChartSeriesLabelDefinition Margin="-4,0,0,0">
                <telerik:ChartSeriesLabelDefinition.Template>
                    <DataTemplate>
                        <StackPanel>
                            <TextBlock Text="{Binding DataItem.Title}" Foreground="Black" FontSize="14"/>
                            <TextBlock Text="{Binding DataItem.Amount, StringFormat=' {0:C0}'}" Foreground="Black" FontSize="12"/>
                        </StackPanel>
                    </DataTemplate>
                </telerik:ChartSeriesLabelDefinition.Template>
            </telerik:ChartSeriesLabelDefinition>
        </telerik:PieSeries.LabelDefinitions>
    </telerik:PieSeries>
</telerik:RadPieChart>


Thanks,

Johnny
sai
Top achievements
Rank 1
 answered on 04 Dec 2015
4 answers
160 views

Hi,

I am new to telerik controls. Can someone help to achieve this.

I have multiple collections of data with key and value pair. I need to draw a gadget/ DoughnutSeries  series chart to show the actual vs target percentage.

For example, to show number of accidents happened with in and out of the city I need to show two series separately. Can we achieve this using chartseriesprovider? otherwise we need to add each series manually? If we get any reference with example would be great. Kindly find the attached image for reference.

 

Thanks in Advance,

Arun

 


 
Arun
Top achievements
Rank 1
 answered on 03 Dec 2015
1 answer
182 views

I have an existing RadTreeView, and would like to allow users to drop the items at another location within the tree .  All I need to capture is the drop target details. It seems to be available within "DragEventArgs.Data" property but this seems to be inaccessible through code.  It has the type "Telerik.Windows.DragDrop.Behaviors.DragPayload.FullTrustPayload" and I can't access it.

Is there any way to access information about where in the RadTreeView an item has been dropped?

TIA

Martin Ivanov
Telerik team
 answered on 03 Dec 2015
1 answer
127 views

Hello

 I am in a situation where the layout should be pre-determined on one machine, and then loaded on another machine. The resolutions of these machines are different, so I would like to save these panels as a percentage rather than a static width. Is this possible?

 I am creating the panels dynamically with binding on the PanesSource, so I cannot set these options in Xaml for each RadPanel (Except if I override the ContentTemplate?). Anyways the question still stands, can I save the layout percentage-wise instead of static number when the SaveLayout method is called?

 

Vladi
Telerik team
 answered on 03 Dec 2015
9 answers
517 views
Hello,

Is there a simple way to right-align a button in the RadToolbar? Frequently, it is nice to have a right-aligned help button or refresh button in a tool bar. I tried setting the HorizontalAlignment property of the contained button to Right, but that didn't work.
Ivan
Telerik team
 answered on 03 Dec 2015
3 answers
195 views

Hi there,

 I'm sure this has been asked before. I have a column where the value needs to be represented by an icon. For example, I want the value of "1" to be represented by an image located in a local folder. Can I do this with a CellStyleSelector? Or do I need to use a CellTemplateSelector? Or is there any easier way to do this?

 

<telerik:GridViewDataColumn DataMemberBinding="{Binding Priority}" Header="P" Width="20">
       <telerik:GridViewDataColumn.CellTemplate>
           <DataTemplate>
                <Image Source="[WHAT GOES HERE?]" />
           </DataTemplate>
       </telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>

Thanks.


 
Stefan
Telerik team
 answered on 03 Dec 2015
1 answer
385 views
I added a ListView(Horizontal) inside a RadGridView such that every RadGrid row will have different number of ListView Items.How can I achieve this using MVVM (through view-model) ?
Stefan
Telerik team
 answered on 02 Dec 2015
5 answers
170 views
Is there not a way to use global themes with pivot grid and field list?

In our main app we use gridview, datafilter, combobox, docking, ribbonview, charts, treeview, more... and by referencing global themes like expression_dark, window7,windows8 etc... (we converted everything recently to noxaml and implicit styling like suggested) everything looks very nice and consistent (even native textbox and others get themed) but once we added a pivot chart and field list it doesn't use the themes and looks totally out of place. With all of the complexities of our application logic and routines I was hoping not to have to write a ton of xaml styling to get pivot into our app and look like it is a part of it. Right now I create a new dock tab and insert a pivot into it in expression_dark theme active and you can't even read the text (light grey) on a white background.

Any plans for a Telerik.Windows.Controls.Pivot.xaml file?
Brett
Top achievements
Rank 1
 answered on 02 Dec 2015
3 answers
163 views

Hi,

 

in my ScheduleView, I always completly fill it with Appointments and SpecialSlots for visual purpose, I mean, each SpecialSlot and Appointment contain a UserControl with a border. Each day contain at least 2 resources.

I would like to implement a nivagtion behavior which consist of using the arrow keys to navigate through the SpecialSlots and Appointments and when the navigation behavior return a SpecialSlot or an Appointment, I would like to change the border color of the UserControl to indicate a new selected SpecialSlot or a new selected Appointment in the control.

 

I would like to know how it's possible to do it...?

 

Thank's

Alain

Nasko
Telerik team
 answered on 02 Dec 2015
1 answer
162 views

I have created gui using radtabcontrol. In it i have added UserControl to RadTabItem using code behind on Tab Selection Changed event. But whenever usercontrol is added, there is extra space at bottom of tab. Please help. I am attaching screen shot below.

I am using Window8 Theme.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Dec 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?