Telerik Forums
UI for WPF Forum
2 answers
154 views

Hello 

 

I have a TimeBar which Connet is a Cartesian chart. The Period Start and End are the Min and Max dates in the source of the Cartesian chart items. For some reason, the start and the end of the cartesian chart does not align with the boundaries of the TimeBar. As if the chart has has some margin/padding that prohibits it to align with the TiemBar boundaries. (see atteched graphs).

Here is the xaml of the Timebar + cartesian chart:

<telerik:RadTimeBar Height="150" VerticalAlignment="Top"
                            PeriodStart="{Binding PeriodStart, Mode=TwoWay}"
                            PeriodEnd="{Binding PeriodEnd, Mode=TwoWay}"
                            VisiblePeriodStart="{Binding VisiblePeriodStart, Mode=TwoWay}"
                            VisiblePeriodEnd="{Binding VisiblePeriodEnd, Mode=TwoWay}"
                            SelectionStart="{Binding SelectionPeriodStart, Mode=TwoWay}"
                            SelectionEnd="{Binding SelectionPeriodEnd, Mode=TwoWay}">
            

        <telerik:RadTimeBar.Intervals>
            <telerik:YearInterval />
                <telerik:QuarterInterval/>
                <telerik:MonthInterval />
            <telerik:WeekInterval />
            <telerik:DayInterval />
        </telerik:RadTimeBar.Intervals>

            <telerik:RadTimeBar.Content>

                <telerik:RadCartesianChart Height="90" VerticalAlignment="Top">
                    <telerik:RadCartesianChart.Behaviors>
                        <telerik:ChartSelectionBehavior DataPointSelectionMode="Single" />
                        <telerik:ChartTooltipBehavior/>
                    </telerik:RadCartesianChart.Behaviors>
                    <telerik:RadCartesianChart.HorizontalAxis>
                        <telerik:DateTimeContinuousAxis Visibility="Collapsed" ShowLabels="False" TickThickness="0"/>
                    </telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:RadCartesianChart.VerticalAxis>
                        <telerik:LinearAxis Visibility="Collapsed" ShowLabels="False" TickThickness="0" SmartLabelsMode="None"/>
                    </telerik:RadCartesianChart.VerticalAxis>

                    <telerik:RadCartesianChart.Series>
                        <telerik:BarSeries CategoryBinding="EffectiveDate" ValueBinding="PerformanceYTD" ItemsSource="{Binding PortfolioPerformanceHistoryChartItemPositive}">
                            <telerik:BarSeries.TooltipTemplate>
                                <ItemContainerTemplate>
                                    <TextBlock Text="{Binding DataItem.PerformanceYTD, StringFormat=P2}" Background="Bisque" Padding="1"/>
                                </ItemContainerTemplate>
                            </telerik:BarSeries.TooltipTemplate>
                            <telerik:BarSeries.PointTemplate>
                                <DataTemplate>
                                    <Rectangle Width="10" Fill="Blue" />
                                </DataTemplate>
                            </telerik:BarSeries.PointTemplate>
                        </telerik:BarSeries>
                        <telerik:BarSeries CategoryBinding="EffectiveDate" ValueBinding="PerformanceYTD" ItemsSource="{Binding PortfolioPerformanceHistoryChartItemNegative}">
                            <telerik:BarSeries.TooltipTemplate>
                                <ItemContainerTemplate>
                                    <TextBlock Text="{Binding DataItem.PerformanceYTD, StringFormat=P2}" Background="Bisque" Padding="1"/>
                                </ItemContainerTemplate>
                            </telerik:BarSeries.TooltipTemplate>
                            <telerik:BarSeries.PointTemplate>
                                <DataTemplate>
                                    <Rectangle Width="10" Fill="Red" />
                                </DataTemplate>
                            </telerik:BarSeries.PointTemplate>
                        </telerik:BarSeries>
                    </telerik:RadCartesianChart.Series>

                </telerik:RadCartesianChart>
            </telerik:RadTimeBar.Content>
            
        </telerik:RadTimeBar>

 

 

Thanks

Herald

Herald
Top achievements
Rank 1
Veteran
Iron
 answered on 07 Oct 2020
7 answers
181 views
Can I get the trackball info to be topmost over the intersection points on the series that are highlighted as I move the trackball?

I am getting the intersection points on top of the trackball info and I do not want that.  I still do want the intersection points to be shown when not over the trackball info tooltip.

Thanks!
Hen
Top achievements
Rank 1
Veteran
 answered on 06 Oct 2020
5 answers
101 views
I am running the 2020 R2 version and ran into what I believe is the same problem as "One could scroll past the first item leaving empty space above it" that is listed in the release history for 2020 R3. I am about to release and cannot really introduce a new version of these components right now, so is there some kind of workaround? I noticed that not all of my grids exhibit this behavior but was not able to distill the reason.
Dilyan Traykov
Telerik team
 answered on 05 Oct 2020
3 answers
151 views

How do I get the text to wrap rather than scroll horizontally.

Thanks,

Richard

Byron
Top achievements
Rank 1
 answered on 03 Oct 2020
4 answers
294 views

Hi,

Is it possible to paste some copied data into a RichTextBox as an image like you can in Outlook?

We have  a table in excel that we would like to paste in so it is an image in the RichTextBox rather than an editable table.

I have had a look around the forum and the docs but I can't see anything.

Thanks,

Steve

Martin
Telerik team
 answered on 01 Oct 2020
0 answers
112 views

Hello.

I was asked to make the scheduler show hours for the day in two columns if no grouping is selected.

i;e.: if my day has hours from 8am to 6pm, show two columns for the day: one with hours 8am to 12:59am and one with hours from 1pm to 6 pm. much as you can find in any mid sized scheduling book.

 

Is there a way to do that? or any hints to how to... 

Thanks in advance...

Richard
Top achievements
Rank 1
Iron
 asked on 30 Sep 2020
3 answers
332 views

Good day,

Is there a way I can access the filter value used in the GridView and Show it to other part of my page? Just like the SelectionBox of RadMultiColumnComboBox with the column and operation used?

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Sep 2020
2 answers
302 views

We are using the Teleik rad gridview in our WPF application but we are experienceing a memory leak. The problem with this leak is that i'm not able to reproduce it in a example application so i cannot send anything. Below is the information I get using dotMemory:

 

Type, Allocated bytes, Allocated objects, Collected bytes, Collected objects
Telerik.Windows.Data.WeakEvent+WeakListener<System.ComponentModel.PropertyChangedEventArgs>, 81600, 3400, 79200, 3300
2 (2x24bytes)

Telerik.Windows.Data.WeakEvent+WeakListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>, 72000, 3000, 69600, 2900
2 (2x24bytes)

Because I am not able to reproduce the issue I wonder if you guys can give me some tips and pointers about how to diagnose this problem. Below you'll find information about the OS, Visual studio version and the used telerik version. The backtrace does not contain any of our own code.

Windows 10

Visual Studio 2015

.net framework 4.6.1 C#

Telerik version:2019.1.220.45

 

Marco
Top achievements
Rank 1
 answered on 30 Sep 2020
1 answer
434 views
Hi,

I have a problem with the window loading time. I only have a RadGridView with no data connection. Empty window loading time before mapping to data is 0.6s. In Visual Studio, using Performance Profiler, Inoticed that when loading the window, all styles that can be used in the application are parsed. Start time has increased by 0.6s. It is too long for my solution.

Is there a way to prevent the program from loading all the styles at startup?
Vicky
Telerik team
 answered on 30 Sep 2020
1 answer
158 views

Hi,

I'm wondering if there is a way to segment a RadCartesianChart based on specific units of time (minutes, hours, days, months, years).

For example, lets say I select the count of product orders for every month over a 4 year timespan (2012-2015). With that selection, I will have 48 points of data displayed on my line chart. As a user, I would like to view how our order numbers compare on a year-by-year basis, while still seeing the order counts for the specific months. I select an option that specifies Segment = Year. My resulting chart should look like the attached image.

Is something like this possible with RadCartesianChart?

 

Martin Ivanov
Telerik team
 answered on 30 Sep 2020
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?