Telerik Forums
UI for WPF Forum
1 answer
105 views
Hi there,

I was wondering if there was a way to have a discontinuous axis using Telerik charting?

We have a scatter chart on a screen which often contains outliers meaning that the rest of the data gets compacted. A user has requested that we use a discontinuous axis so that the outliers can be be shown without compacting the rest of the data.

For example, the axis steps could be 0, 10, 20, 30, 40, 50, 10000.

I have attached a screen shot which will hopefully be able to explain what I mean more clearly. This was taken from another application which the user uses which provides this functionality.

Kinds Regards,

Steven

Peshito
Telerik team
 answered on 26 May 2014
1 answer
164 views
I'm working on a UI and I have a nested tab control. The main tab control has a series of tabs tied to an ItemsSource. The inner tab control is organizational and every item represented in the main tab will have a set number of tabs. All of it works great except I noticed that when I selected between tabs that the inner tab of the previous one was reset to the first tab even if I had the second selected.

I did some digging and discovered that the contents of the ContentTemplate are recreated each time a tab is selected. That seems pretty inefficient, but I guess there's some good reason for that? At any rate, I'm hoping someone has a good alternative to this behavior without resorting to creating the tabs programmatically (that'd be kludgey from my view-model).

Here's a simplified example of what I'm talking about. The contents of UserControl1 aren't shown, but they can be anything that has visual state that isn't persisted to the model -- e.g. current tab, unbound text, et al.

​<Window ...>
    <Window.Resources>
        <DataTemplate x:Key="TabHeaderTemplate">
            <TextBlock Text="{Binding Name, Mode=OneWay}" />
        </DataTemplate>
        <DataTemplate x:Key="TabContentTemplate">
            <local:UserControl1 DataContext="{Binding Path=.}" />
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <telerik:RadTabControl ItemsSource="{Binding Path=.}"
                               ItemTemplate="{StaticResource TabHeaderTemplate}"
                               ContentTemplate="{StaticResource TabContentTemplate}" />
    </Grid>
</Window>
Anthony
Top achievements
Rank 1
 answered on 23 May 2014
7 answers
539 views
Hello,

With Q3 2012, I discovered Implicit Style.
It really works great !!

The only thing that doesn't work are RadWindow, that doen't style properly. My RadWindow are used as User Control and created only via XAML:
<telerik:RadWindow 
......
I disabled StyleManager as noticed in the documentation.
How can I style easily all my RadWindows ?
Thanks.
xsch
Martin
Top achievements
Rank 1
 answered on 23 May 2014
4 answers
362 views
In my gridview, I have a column that I need to make into a template as follows.
​ <telerik:GridViewDataColumn Header="Contact" DataMemberBinding="{Binding CustAccountsLocationContact.FirstName}">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding CustAccountsLocationContact.FirstName}" />
<TextBlock Text=" " />
<TextBlock Text="{Binding CustAccountsLocationContact.LastName}" />
</StackPanel>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>


When I save and reload with persistence framework, the binding no longer works. Is there a work around for this? or do I just need to add 2 columns?

Thank you,
Jonah
Jonah
Top achievements
Rank 1
 answered on 23 May 2014
1 answer
79 views
Hi.

I wonder one thing.

Program spent some time after setting 'Series Data'.

The time is proportionality 'Series Data' quantity.

I want to know where is it.

Please let me know.
Martin Ivanov
Telerik team
 answered on 23 May 2014
6 answers
146 views
Hi,

I want to distribute selected diagrams horizontally and vertically.
Do the telerik provide some methods to do this?
Martin Ivanov
Telerik team
 answered on 23 May 2014
4 answers
199 views
Hi,

we are using RadDiagram as a WorkflowDesigner for a business-software. How can we test different processes, whether they are produced correctly? Is there a Startpoint (Shape), are the Connectors ok, ...? Any ideas how so solve this?

Thanks
Best Regrads
Rene
Zarko
Telerik team
 answered on 23 May 2014
1 answer
192 views
Hello

I'd like to get a chart like on the attached picture. The problem is I don't understand how to implement the labels below the chart. These labels are not for the points, but for the intervals. For example, assume we have the following array of points {{20, 30}, {40, 15}, {60, 70}} (so 3 points, the first value means X coordinate, the second means Y). In this case I should get 2 labels under the chart. The first one between 20 and 40 value, and the second between 40 and 60.

I tried to use CategoricalAxis, but as I see it doesn't fit exactly what I need. I tried to use annotations, but I didn't manage to locate them under the chart.

Could you please help me and advise how to implement that?
Martin Ivanov
Telerik team
 answered on 23 May 2014
1 answer
124 views
Hi,

i use a custom InOutConncetorClasse. If I drop a Shape, I add the new Points to my shape:

var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="StartConncetor" };
NewShape.Connectors.Add(outConnector);
NewShape.UseDefaultConnectors = false;

This works fine. Now I save my diagram to xml. If i load the diagram from xml i try to add the custom connectors again:

var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="x"};
(e.Shape as RadDiagramShape).Connectors.Add(outConnector);
(e.Shape as RadDiagramShape).UseDefaultConnectors = false;

The Point is correct, but the InOutConnector.eDirection does not work?

How can i save and relaod this custom connectors?

Thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 23 May 2014
1 answer
227 views
Is it possible for the user to be able to resize the columns at run time like any other grid. I see how I can set all columns to a fixed width but I would for the user to be able to drag (like EXCEL) and then save those sizes when you persist the grid settings to XML

Thank you
Kalin
Telerik team
 answered on 23 May 2014
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
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?