Telerik Forums
UI for WPF Forum
2 answers
125 views
Hi,

I have set up a RadChart with a ScatterSeriesDefinition. I am then setting the ItemsSource from the code, by passing it an ObservableCollection<> which holds a custom object called Coordinate, which is essentially just an object that stores an X value and a Y value.

My problem is, there is probably about 1000 Coordinate's in the ObservableCollection, yet only about 200 of them are being displayed on the Chart. 

Is there a limit to the number of points that this type of chart can hold in one series? Or am I doing something wrong?

Thanks

Daniel
Top achievements
Rank 1
 answered on 23 Jan 2012
10 answers
242 views
I have been trying to find examples of how to handle the linking of two charts axis.

I have two charts which each contain multiple series of dynamic data, the data all has a datetime x-axis.

What I am trying to do is to have them share the same zoom and values / spacing etc along the x-axis for the two charts.

Is there an easy way to achieve this with the radchart? Can you possibly point me in the direction of an example

thanks for you time

regards

Murray
Evgenia
Telerik team
 answered on 23 Jan 2012
2 answers
152 views
An easy question, hopefully with an easy solution : 

I use piecharts and StackedBar100 charts in our application to display voting results and results of multiple choice tests. The results are updated during the test, as answers are coming in. We get complaints about the "0" labels which are disturbing both in the stacked barcharts and in the piechart. However, when I set LabelSettings.ShowZeroValueLabels = false, no labels are ever shown. All datavalues are zero at the start of the test, and updating the dataseries dynamically works ok, but the hidden labels don't appear when a value becomes non-zero.  Only solution I see to make the labels appear is to redraw the chart on each incoming result, but that is not feasible. 
Is there a way to solve this issue ? 

thanks,
Xavier De Donder
Televic Education.

Yoeri
Top achievements
Rank 1
 answered on 23 Jan 2012
3 answers
883 views
Hello,

I have an application that can drag and drop buttons between borders. I have the drag drop working.

The problem is the button click event seems to be blocked when I set the AllowDrag property to true. I can still see a double click event, just not the actual click event.
<Button Content="drop btn"
Click="Button_Click_1" 
telerikDragDrop:RadDragAndDropManager.AllowDrag="True"
MouseDoubleClick="Button_MouseDoubleClick" />

Thanks for the help.
Scott
Tsvyatko
Telerik team
 answered on 23 Jan 2012
1 answer
125 views
I have looked at your RadMap demos using shape files and the priciple is exactly what i require for my application. Can you recommend an easy application to use to create shape files?

Regards

Robin
Andrey
Telerik team
 answered on 23 Jan 2012
5 answers
444 views

When I set my grids datacontext as follows the Add new Row does not work:

dataGridView.DataContext = linqToSqldataContext.GetTable<my_Table_name>().AsEnumerable();

But If I set my datacontext like this it works but then my data in the grid is not binded to the source anymore:
dataGridView.DataContext = linqToSqldataContext.GetTable<my_Table_name>().AsEnumerable().ToList(); 

Can you explain why this is?


This is just a simplified version of what I am doing. Ideally I want to do the following and have all the data binded without having to process inserts/deletes/and updates for my data source.
dataGridView.DataContext  = (linqToSqldataContext.GetTableByName(TableNames.SelectedItem.ToString()));

where GetTableByName is 
static class DataContextExtensions
   {
       public static ITable GetTableByName(this DataContext context, string tableName)
       {
           if (context == null)
           {
               throw new ArgumentNullException("context");
           }
           if (tableName == null)
           {
               throw new ArgumentNullException("tableName");
           }
           var dataTable = context.GetType().GetProperty(tableName).GetValue(context, null);
           return (ITable)dataTable;
       }
   }

Dimitrina
Telerik team
 answered on 23 Jan 2012
0 answers
101 views
Hi
 
is that correct to call an element of a view from the viewmodel????
(i'm using MVVMLight)
example:
var grd = (RadGridView)e.Source; (e is KeyEventArgs)


M
Top achievements
Rank 1
 asked on 23 Jan 2012
2 answers
170 views
I am binding a GridView to a BindingListCollectionView.  This is being filled by a Linq Query.

I am displaying a GridView of a few fields and a set of text boxes that also display these fields and several others.  The Idea is for GridView to provide Sorting and Filtering on the key fields and make the rest of the fields visible when the record is displayed.

This works great if I navigate the GridView with the keyboard, but as soon as I use the mouse to select the record instead of the keyboard aarow keys, the position in the BindingListCollectionView is not updated.

To recap, the BindingListCollectionView position is updated when the grid is navigated with the keyboard arrow keys, but not when rows are selected with the mouse.

Any Ideas on how to work around this problem?
aavadesh
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
140 views
Hi, I'm have an unusual requirement here. We want to bind the gridview to any strong-typed objects but at the same time, we're not going to hide some columns. So this basically precludes us from defining columns in XAML. So my option is to handle an event which is fired during the creation of columns. There I could probably suppress the creation of some columns. Is there such an event?
Maya
Telerik team
 answered on 23 Jan 2012
1 answer
101 views
http://www.telerik.com/help/wpf/gridview-multiple-selection.html

In the above link API, RadGridView has a
ObservableCollection<object> SelectedItems
property. I have a requirement where I need to access the selected grid items in the ViewModel. How can I do that? There is no dependency property for that I can use, and in the code sample you only have codebehind example. Please advice.

Thanks!
Maya
Telerik team
 answered on 23 Jan 2012
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?