Telerik Forums
UI for WPF Forum
4 answers
94 views
Hello,

i have a problem with the property FieldIndicatorVisibility. When i use RadPropertyGrid direct in my control, it works find, when i set FieldIndicatorVisibility="Collapsed". But when i define a DataTemplate, in which i use the RadPropertyGrid, and then use the DataTemplate in my control, the field indicator will always be shown.

Have you some suggestion for that? Thanks!

Ivan
Ivan
Top achievements
Rank 1
 answered on 09 Dec 2013
1 answer
90 views
Hi, 
    I have a gridview attached to the list of entities using MVVM pattern.
    If the user select the row, the color of the selected row is orange ( or gradient of the orange), but if the selection
    of the row is by code, the color is gray.

How can you let the same color for selection?

Thanks

 
Yoan
Telerik team
 answered on 09 Dec 2013
1 answer
193 views
I think this product does not meet my needs, but I would still like answers to the following questions. If there is a better product fit, please let me know. What I want is this HeatMap display in a 2D chart.

I need to display several hundred thousand points in a heatmap, possibly several million. The product page says HeatMap can "render an obscene amount of visual detail without slowing down and without sacrificing interactivity". I am not seeing this so I would like to know what I need to change. Using 120,000 points it is pretty slow.

I wonder if the problem is the column headers. I was hoping HeatMap would act like a chart and only display "axis labels" at appropriate points, not *all* of them.

Is there any way to zoom along the x-axis? With this many points, the user will want to zoom in on specific areas.

BTW, it would be nice if we could upload zip files of projects, not just code snippets.

Public Class TempInfo
    Public Property Timestamp As DateTime
    Public Property SensorIndex As Int32
    Public Property Temperature As Single
 
    Public Sub New(ByVal adTimestamp As DateTime, ByVal aiSensorIndex As Int32, ByVal afTemperature As Single)
        Timestamp = adTimestamp
        SensorIndex = aiSensorIndex
        Temperature = afTemperature
    End Sub
End Class
 
Class MainWindow
 
    Private Sub MainWindow_Loaded(sender As Object, e As System.Windows.RoutedEventArgs) Handles Me.Loaded
        Dim infos As New List(Of TempInfo)
        Dim loRandom As New Random
        For liDateCounter As Int32 = 1 To 10000
            For liSensorCounter As Int32 = 1 To 12
                infos.Add(New TempInfo(DateTime.Now.AddHours(liDateCounter), liSensorCounter, loRandom.Next(70, 90)))
            Next
        Next
 
        RadHeatMap1.Definition.ItemsSource = infos
    End Sub
End Class
 
<Window x:Class="MainWindow"
    Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <telerik:RadHeatMap HorizontalAlignment="Stretch" Name="RadHeatMap1" VerticalAlignment="Stretch" SnapsToDevicePixels="True" UseLayoutRounding="True">
            <telerik:RadHeatMap.Definition>
                <telerik:CategoricalDefinition ItemsSource="{Binding}"
                                    RowGroupMemberPath="SensorIndex"
                                    ColumnGroupMemberPath="Timestamp"
                                    ValuePath="Temperature" />
            </telerik:RadHeatMap.Definition>
        </telerik:RadHeatMap>
    </Grid>
</Window>
Petar Marchev
Telerik team
 answered on 09 Dec 2013
1 answer
73 views
Hello,
I have a RadChart control.  I would like to draw some important values.
I fixed X Axis range 0-720, And Y Axis range 0-240. The AutoRange properties are false.
I collect the ItemsSource data from a device. I think when I get some data over ~144 point RadChart re-samples the YValues and chart draws wrong(or rounded) values for me. And re-sampling  goes on while data come from my source. My Y axis values getting smaller !?

I use LineSeriesDefinition . I do not won't something like anti-aliasing, smoothing. Can it be a kind of chart issue ? 

I can see that I have "161" value as maximum(peak) YValue for my source and see it first. But when new values come I can see all values moved under 150 .  re-sampling done ??? Why my YValues getting smaller although my bound values still contains higher values such as 161. 

 <telerik:RadChart  x:Name="xRadChartECG1"  Grid.Column="1" ItemsSource="{Binding xSource}">
                                        <telerik:RadChart.DefaultView>
                                            <telerik:ChartDefaultView>
                                                <telerik:ChartDefaultView.ChartLegend>
                                                    <telerik:ChartLegend Visibility="Collapsed" />
                                                </telerik:ChartDefaultView.ChartLegend>
                                                <telerik:ChartDefaultView.ChartArea>
                                                    <telerik:ChartArea  EnableAnimations="False" LabelFormatBehavior="None" SmartLabelsEnabled="False" Background="White" >
                                                        <telerik:ChartArea.AxisY>
                                                            <telerik:AxisY AutoRange="False" MinValue="0" MaxValue="260"  AxisLabelsVisibility="Visible" StripLinesVisibility="Hidden" MinorTicksVisibility="Visible" MajorTicksVisibility="Visible" Visibility="Visible" />
                                                        </telerik:ChartArea.AxisY>
                                                        <telerik:ChartArea.AxisX >
                                                            <telerik:AxisX  IsDateTime="False" AxisLabelsVisibility="Visible" MajorTicksVisibility="Visible" Visibility="Visible" AutoRange="False" MinValue="0" MaxValue="720" />
                                                        </telerik:ChartArea.AxisX>
                                                        <telerik:ChartArea.ZoomScrollSettingsX>
                                                            <telerik:ZoomScrollSettings ScrollMode="None" />
                                                        </telerik:ChartArea.ZoomScrollSettingsX>
                                                    </telerik:ChartArea>
                                                </telerik:ChartDefaultView.ChartArea>
                                            </telerik:ChartDefaultView>
                                        </telerik:RadChart.DefaultView>
                                        <telerik:RadChart.SeriesMappings>
                                            <telerik:SeriesMapping>
                                                <telerik:SeriesMapping.SeriesDefinition>
                                                    <telerik:LineSeriesDefinition ShowPointMarks="False" ShowItemLabels="False">
                                                        <telerik:LineSeriesDefinition.Appearance>
                                                            <telerik:SeriesAppearanceSettings Fill="Green" Foreground="Green" Stroke="Green" StrokeThickness="1" />
                                                        </telerik:LineSeriesDefinition.Appearance>
                                                    </telerik:LineSeriesDefinition>
                                                </telerik:SeriesMapping.SeriesDefinition>
                                                <telerik:SeriesMapping.ItemMappings>
                                                    <telerik:ItemMapping FieldName="YValue"
                                             DataPointMember="YValue" />                                                  
                                                    <telerik:ItemMapping FieldName="Index"
                                             DataPointMember="XValue" />
                                                </telerik:SeriesMapping.ItemMappings>
                                            </telerik:SeriesMapping>
                                        </telerik:RadChart.SeriesMappings>
                                    </telerik:RadChart>
                                </Grid>

And the xSource is the below values . (same values comes for 10 times)

128
124
119
118
118
118
119
119
119
119
119
119
119
120
120
120
120
120
120
120
120
121
121
121
121
121
121
121
121
121
121
121
121
123
127
128
127
123
121
121
121
121
121
121
121
118
131
157
161
121
114
120
119
119
120
120
120
120
120
120
120
120
121
124
127
128
129
130
131
132
132

Thanks in advance
Petar Marchev
Telerik team
 answered on 09 Dec 2013
6 answers
97 views

So attached are 2 screens, one showing when I run with persistence and the other running without it... ShowColumnFooters is checked on cause I need it for column totals.  Don't like when it stops working for some strange reason...  I started to think it was the way I setup my settings popup for GridView but then I realized that it turns out to be when its loading settings for the Grid in code-behind.  I am actually not doing anything weird, I can wipe out the Isostorage if you like in my profile to see if this causes the anomaly to go away.  Its the first time I play with persistence, thought I was going to have to write my own stuff for this but ya'll did it for us.. :)



I don't do much in codebehind normally since I use MVVM for most everything but this is the one thing that I will drop in code behind when its strictly view related. 

Dimitrina
Telerik team
 answered on 09 Dec 2013
2 answers
137 views
How to bind date and decimal value from database to telerik radchart lineseries in X And Y axis in WPF Usercontrol page 
Prakash
Top achievements
Rank 1
 answered on 07 Dec 2013
2 answers
73 views
Hello,

We have a custom User Control that presents custom tool icons in a RadCarousel.  The data items that are in an Observable collection and used as the Item source have a ToolTip property.  Is there an event that can be used to synchonize the Carousel's items to show that hint?

Thanks,

Reid
Reid
Top achievements
Rank 2
 answered on 06 Dec 2013
2 answers
173 views
Hello,

i would like to only enable drag/drop effects outside of the TreeView. That means, when i drag the TreeViewItem inside TreeView, the DragDropEffects should be None, when the mouse is out of the TreeView, drop effects will be allowed.
1). I have tried the RadTreeView_ItemPrepared and set the PreparedItem.AllowDrop = false. But i can also drag a TreeViewItem and drop it after last TreeViewItem.
2). I tried to set DropPosition property of TreeViewDragDropOptions. But it could only be set to Inside :(

Any idea? Thanks.

Ivan
Ivan
Top achievements
Rank 1
 answered on 06 Dec 2013
1 answer
280 views
I have skinned the Auto Complete box to black then cursor is disappeared, can someone please help me to change the color of the caret to white.

Sharan
Kalin
Telerik team
 answered on 06 Dec 2013
0 answers
46 views
hi,

Is it possible to adjust the template so that the data is displayed in the DataGrid.
How to set Binding for columns that should be created automatically within the DataGrid.
How to avoid generating DataGrid for each row?
My data source is a DataTable and use FindMatchingItems function for custom filter.

by
Dalibor
Top achievements
Rank 1
 asked on 06 Dec 2013
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
VirtualKeyboard
HighlightTextBlock
Security
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?