I have created a custom control which has Telerik RadCartesianChart. This custom control creates any number of charts based on user dropdown selection. The number of charts on screen can vary but all have same x axis. I added a chart track ball line on custom control which is working fine on one chart on mouse movement. I want to add the same track ball line on all of the other chart on window so that movement on one track ball would reflect the same position on the other charts. How could I implement this behavior programmatically?
How to set telerik chart TrackBall position programatically
646 views Asked by CodingAgent At
1
There are 1 answers
Related Questions in WPF
- Sorting a List by its property renames all the objects in the List
- Can't open new instance of another window in my app, in WPF .NET 8
- Binding forecolour and ToolTip to a DataGrid
- how to create Infinite Upgrades in a clicker game
- Try Catch exception is not catching the unhandled exception
- Assigning an object to another doesn't raise PropertyChanged event in WPF
- Masking input in TextBox
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- reading configuration file (mytest.exe.config)
- WPF Windows Initializing is locking the separated thread in .Net 8
- How to bind to the DataContext ViewModel of another view?
- mouse coordinates in image go below 0 and above width
- WPF pop up is behaving differently in English language PC and Japanese language PC
- Multi level project reference using dll
- Unable to unzip archive .NET framework
Related Questions in TELERIK
- Telerik Blazor GridCommandButton not working
- How to Nest a TelerikGrid inside TelerikForm with Blazor
- Why doesn't the ImageButton work for me? Grid IOS Telerik
- Telerik Blazor Wizard Doesn't Re-Render on Previous Button Click
- How to increase information in SQL Server's logs?
- error NU1101: Unable to find package Telerik.Drawing.Skia.Trial. No packages exist with this id in source(s)
- Issue with RadPane content Freezing After Resetting Layout on Floating State
- How can i make a multi-level hierarchical radgridview with load-on-demand in Telerik for Winforms?
- How to show data of child view model by targeting parent view model in Kendo Multiselect dropdown in MVC?
- Telerik-RadRadioButtonlist control is not loading
- How to set the spacing between RadSplitContainers in the RadDocking?
- Adjusting Telerik RadComboBox dropdown width dynamically based on content
- Duplicate subNodes Telerik c#
- WindowsAzure.Storage package on telerik RadCloudUpload
- Blazor TelerikAutoComplete in each list item
Related Questions in TELERIK-CHARTING
- Telerik RadChart Not showing when there is 2 charts
- TelerikChart Width
- How to bind list of object from razor code behind to Kendo chart in cshtml
- Telerik Chart UI is slow with 1000 values
- Telerik MVC Chart - Bind to JSON
- How to create a chart with static parameters
- UWP Telerik UI How to add convert into RadCartesianChart's Vertical Axis?
- Editing Chart Labels on Nativescript
- How to add mutiple color kendo UI Chart
- Telerik RadChart: add chart dynamically to Window object
- How to Display LineSeries Chart with Point in telerik in Xamarin forms?
- Kendo bar chart does not show data
- kendoChart: Is there any way to display multiple series of differing value scales using a single valueAxis?
- Control color of data points in RadHtmlChart programatically
- Radchart shrinks inside Radtab
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I don't know if you can do what you are attempting without adding a ChartTrackBallController to every chart.
What I'd suggest is adding multiple series to the one chart, share the X axis but have multiple Y axes as required. This way the ChartTrackBallController will pick a point on all series in the chart.
In the above code snippit, rcvUPM is a radchartview containing all the data series you want to show, and ctbcMain_TextNeeded is used to customise the content of what the hover for the trackball shows.
It seems that by default the hover content will contain multiple points from each series, even after the InnerPointSize and OuterPointsSize was set to zero on advice by Telerik support a LINQ FirstOrDefault was needed on the collection of DataPointInfo objects to limit it to one point per series.