Telerik Forums
UI for WPF Forum
3 answers
130 views
Hi,

We need to create a chart with multiple series. I created a RadCartesian chart which has a DateTimeCategoricalAxis as horizontal axis and a LinearAxis as vertical axis. For the series I use scatterpoint series.

<telerik:RadCartesianChart>
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeCategoricalAxis Title="Inspection Date" />
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis LineThickness="1"
                                    Title="Value">
                </telerik:LinearAxis>
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:RadCartesianChart.Series>
                <telerik:ScatterPointSeries ItemsSource="{Binding Path=InspectionHistory}"
                                            PointTemplate="{StaticResource PointTemplate1}"
                                            XValueBinding="InspectionDate"
                                            YValueBinding="Value" />
                <telerik:ScatterPointSeries ItemsSource="{Binding Path=InspectionHistory}"
                                            PointTemplate="{StaticResource PointTemplate2}"
                                            XValueBinding="InspectionDate"
                                            YValueBinding="MinimalValue">
                </telerik:ScatterPointSeries>
            </telerik:RadCartesianChart.Series>
             
            <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLinesVisibility="XY" />
            </telerik:RadCartesianChart.Grid>
        </telerik:RadCartesianChart>

Currently the chart does not show the scatter points. If I change the horizontal axis into a linearaxis and bind the X value to another property, the chart is drawn. Why doesnt it work with the DateTimeCategoricalAxis ?

I am using the 2013 Q1 control.

Kind regards,
Mike
Evgenia
Telerik team
 answered on 08 Jul 2013
1 answer
490 views

Hi,

Currently we are dealing with a Problem of a blocking UI-Thread during the Initial dataload of our RadGridView.
Instead of the blocking UI-Thread we would expect the "running" BusyIndicator!
(During different Grid-Opertions (like Paging, Sorting,...) the BusyIndicator is displayed correctly).

We are using Entity-Framework and since we are having a really complex query-logic we are working with IQueryable Sources.
We have tried to set the data through Dependency-Property-Binding and also tried it manually.
As we found in the web the IQueryable-Source should be the best solution for large amount of data - isn't it?

Here are our attempts:
1) Using an IQueryable Dependency-Property

public static readonly DependencyProperty QueryableSourceProperty =

DependencyProperty.Register("QueryableSource", typeof(IQueryable<Data.TransactionHistory>), typeof(MainWindow), new PropertyMetadata(default(IQueryable<Data.SalesOrderDetail>)));


..
// different conditions... for examp

qeryableSource = queryableSource.OrderBy(o => o.TransactionType);

 

..

ItemsSource="{Binding QueryableSource, ElementName=window}"

2) Setting the ItemsSource-Property of the grid manuelly to our IQueryable

this.radGridElement.ItemsSource = queryableSource;

3) Run all operations asynchronous with Task and Dispatcher

new Task(() => { this.loadData2(); }).Start();


...
Dispatcher.BeginInvoke(
new Action(() => { this.QueryableSource = queryableSource; }));
...

All these samples didn't work as expected.
What's the best solution to bind the Grid on an IQueryable source, so that everything works asynchronously and the BusyIndicator is displayed during the loading-time???

Hopefully you can provide us with a solution...
I can provide you a sample .net application if you send me an upload-link...

Best regards
 Jürgen

Vera
Telerik team
 answered on 08 Jul 2013
2 answers
164 views
Hi everybody,
how can I retrieve the documentposition of a certain Span (not the current where the caret is in). The background is: I need to move the caret to a specific Span when pushing the FastForward / FastRewind button of a microphone to easily dictat in a RadRichTextBox.

Here is what I have yet:

List<NamedPermissionRangeStart> allPermissionRangeStarts = Document.EnumerateChildrenOfType<NamedPermissionRangeStart>().SkipWhile(a => a.Type != "Text").ToList();
            NamedPermissionRangeStart cur = (NamedPermissionRangeStart)Document.CaretPosition.GetCurrentSpanBox().AssociatedSpan.PreviousSibling;
 
            for (int i = 0; i < allPermissionRangeStarts.Count; i++)
            {
                if (allPermissionRangeStarts[i].InternalKey == cur.InternalKey)
                {
                    Document.CaretPosition.MoveToPosition(((Span)allPermissionRangeStarts[i + 1].NextSibling).?????)
                    break;
                }
            }


I hoped to find something that gives me the DocumentPosition where the "???" are.
Is this approach the right one?

Thanks in advance
Jo
JoRoSch
Top achievements
Rank 1
 answered on 08 Jul 2013
3 answers
254 views
How do you hide the header of the expander control, I'm using a checkbox to control it, or how do you change the arrow to be a checkbox.

thanks,

Pablo.
Petar Mladenov
Telerik team
 answered on 08 Jul 2013
7 answers
179 views
Hi Telerik, is it possible to show tree's line in the RadTreeListView like RadTreeView. There is a IsLineEnabled property in RadTreeView, but I can't see it in RadTreeListView.

Thanks,
Cheau
Dimitrina
Telerik team
 answered on 08 Jul 2013
3 answers
155 views
Hello Telerik Team,
I would like to ask you whether it's possible to make auto-hidden panes behave just like in Visual Studio (2010).

By default, when the auto-hidden RadPane is expanded I cannot drag it by clicking on the header and moving the mouse.
First I have to click the pin/unpin button in the RadPane header.

In Visual Studio, when the auto-hidden pane is expanded clicking just once on the pane header and moving mouse allows to drag the pane. Clicking and moving inside the body of the pane just sets focus, does do allow to drag.

As I am just starting out with Rad WPF controls I would like to ask whether replicating this behaviour is possible and if yes could you please demonstrate it on a very simple project? I would be very grateful. If a demonstration is not possible, could you please at least point me in the right direction?

Thank you very much in advance.

Best Regards,
Karol Hrdina
Vladi
Telerik team
 answered on 08 Jul 2013
2 answers
118 views
Is it possible to have more than one indented Column ?

I want to Indent more than one Column at the same structure.
e.g. the main indent Colum with the indent-indicator would be the Article Short Description (Editable), but when the Hirarchy is opened i would also indent the Article-Number Column to give the User a better look at the structure ?

Any Ideas ?

Thilo
Thilo
Top achievements
Rank 1
Iron
 answered on 08 Jul 2013
0 answers
67 views
1 answer
88 views
How can i Set the Width of the RowIndicatorColumn ?

Thanks for an answer.

Thilo
Vanya Pavlova
Telerik team
 answered on 08 Jul 2013
1 answer
116 views
Hello,

I have been given a requirement which involes me displaying a lot of aggregate data - the fields for this will be different depending on what the user has selected to view.

This all displays fine. What I also need to do is optionally exclude (or include) selected items in the grid from the aggregate results.
After a search of the forums and my favourite search engine I understand that row / cell selection is still not possible OOTB? Is there a possible workaround to enable me to select cells? Or any other way to exclude some values from the aggregate results?

Many thanks,
Alex
Rosen Vladimirov
Telerik team
 answered on 08 Jul 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
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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?