Telerik Forums
UI for WPF Forum
13 answers
263 views
I need a line chart where the user can click and drag a data point up and down. When the user releases the data point I will need to calculate various values. Is this possible with your controls and if so is there a demo available?
Martin Ivanov
Telerik team
 answered on 28 Nov 2017
3 answers
191 views

Have minor ticks and grid lines gone away forever, or is it possible to add them to a RadCartesianChart?

 

Thanks!

Brad.

Martin Ivanov
Telerik team
 answered on 28 Nov 2017
11 answers
235 views

I have an sporadically unexplicable OverflowException in RibbonView. 

All information i have from the user is, they are scrolling or using the mousewheel inside the window 
and a  small Stack Trace

Exception:
########################################
Message: UnhandledException OverflowException "Die arithmetische Operation hat einen Überlauf verursacht."(German)
Source: Telerik.Windows.Controls.RibbonView
Location: Telerik.Windows.Controls.RibbonView.Shell.WindowChromeWorker._HandleNCHitTest

Stack Trace:
   bei Telerik.Windows.Controls.RibbonView.Shell.WindowChromeWorker._HandleNCHitTest(WM uxoMsg, IntPtr param, IntPtr legParam, Boolean& handled)
   bei Telerik.Windows.Controls.RibbonView.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr param, IntPtr legParam, Boolean& handled)
   bei System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Any idees?

WPF Telerik Version 2012.3.1129.40
Martin Ivanov
Telerik team
 answered on 28 Nov 2017
3 answers
215 views

I'm trying to create a LineSeries chart with two series of data which are displayed on top of each other. The display data is data bound to series1 and series2. When I use the code below the two graphs are adjacent to each other (series1 on the left and series2 on the right). How can I get the two series to display on top of each other?

<telerik1:RadCartesianChart x:Name="RadChart1">
 <telerik1:RadCartesianChart.HorizontalAxis>
  <telerik1:CategoricalAxis
   x:Name="AxisX"
   Title="Length (km)"
   IsStepRecalculationOnZoomEnabled="True"
   LabelFormat="{}{0:0.000}"
   MajorTickInterval="1000"
   PlotMode="OnTicks"
   SmartLabelsMode="SmartStep"
   TitleTemplate="{DynamicResource BoldAxisTitle}" />
 </telerik1:RadCartesianChart.HorizontalAxis>
 
 <telerik1:RadCartesianChart.VerticalAxis>
  <telerik1:LinearAxis
   x:Name="AxisY"
   Title="dB"
   MajorStep="5"
   Maximum="40"
   Minimum="0"
   TitleTemplate="{DynamicResource BoldAxisTitle}" />
 </telerik1:RadCartesianChart.VerticalAxis>
 
 <telerik1:RadCartesianChart.Series>
  <telerik1:LineSeries
   CategoryBinding="XVal"
   ItemsSource="{Binding series1}"
   Stroke="RoyalBlue"
   StrokeThickness="1"
   ValueBinding="YVal">
   
  </telerik1:LineSeries>
   <telerik1:LineSeries
   CategoryBinding="XVal"
   ItemsSource="{Binding series2}"
   Stroke="Purple"
   StrokeThickness="1"
   ValueBinding="YVal">
  </telerik1:LineSeries>
 </telerik1:RadCartesianChart.Series>
</telerik1:RadCartesianChart>

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Nov 2017
9 answers
311 views
Hello,
I have searched the forum but have not found a way to get notification when:
1.  a column is moved 
2.  a column is resized

What is the straightforward way to capture these events? I'm trying to do this from a custom control that extends RadGridView.

I'm using Q2 release.

Thanks,
Laura
parthiv
Top achievements
Rank 1
 answered on 28 Nov 2017
1 answer
231 views

Hi Team,

I would like to set few styles, namely TextDecorations like StrikeThrough, Underline and other styles like Horizontal Alignment, Boldness and Font Style programmatically by creating a FrameworkElementFactory of type Textblock and then assigning the same to a DataTemplate of type GridViewRow, which is then assigned to the ContentTemplateProperty of the GridViewRow; but to no avail.

Could you please guide me on the same.

Please let me know if any details/clarifications are required.

Thanks,

Swapnil Ramteke

Vladimir Stoyanov
Telerik team
 answered on 27 Nov 2017
1 answer
323 views

Hello

I used the following code to export to image

        Dim filename As String = "C:\Export\ExportedChart.png"

        Using fileStream As Stream = File.Open(filename, FileMode.OpenOrCreate)
            Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(Me.chart, fileStream, New PngBitmapEncoder())
        End Using

 

But the exported image misses the X and Y coordinate values. How can I export the image exactly as seen in the UI

I would like to export to PDF as well.

Dilyan Traykov
Telerik team
 answered on 27 Nov 2017
3 answers
236 views

How can I display the X and Y values in the tool tip for radCartesianchart bar series

 

In radChart, there is a option as below:

<telerik:BarSeriesDefinition ItemToolTipFormat="the X value is #X, the Y value is #Y"ShowItemToolTips="True" />
    </telerik:SeriesMapping.SeriesDefinition>

Martin Ivanov
Telerik team
 answered on 27 Nov 2017
2 answers
263 views

Hi,

I would like to use middle mouse to move viewport ?

Can you help me please ?

Thanks,

Nicolas

nicolasf
Top achievements
Rank 2
 answered on 27 Nov 2017
16 answers
553 views
Hi,
We need to have a RadGridView containing a bound column that could hold a long text (up 4000 char). Each cell if the column will have a little button on the side, and would just show a portion of the text. When the user clicks on the button, an editor popups (ideally in adjacent to the clicked cell) and user can edit the entire text and save it back to cell. Is that doable with the RdaGrdiView? Any help would be much appreciated.
Thanks
Stefan
Telerik team
 answered on 24 Nov 2017
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?