Hi folks, I appreciate the help!
We used to use VisiBlox and there was a very helpful method called GetRenderPosition() and GetRealPosition() I think it was.
This is helpful for converting a value such as 1000 (Hertz) into a screen position such as 123.456 (pixels) and back again.
Say I need to adjust a ScatterPointSeries by 10 pixels. I can't do this because there is no way to translate 10 pixels into X units on the HorizontalAxis.
Specifically, this is impossible to do because I amusing a LogarithmicAxis for the X-Axis. So on the left side of the graph, 10 pixels on the screen corresponds to about 125Hz on my graph. On the right side of the graph, 10 pixels on screen corresponds to more like 2000Hz.
Anyways, I found a method called RadChart.DefaultView.ChartArea.AxisX.ConvertPhysicalUnitsToData()
This looks like what I need, except for these problems:
-I am using RadCartesianChart not RadChart
-I tried hacking it together with a temporary RadChart variable and noticed that the AxisX property has no IsLogarithmic.
So is there a method to do this? If not, that is incredibly disappointing. The VisiBlox method was so easy and helpful.
Right now I have typed in dozens of data points and their approximate screen positions using screenshots of my pc, and then typing all these values into a Ti-83 graphing calculator and finding the best fit, and converting that function into c# code. It works, but now that the graph size has changed due to changes in my program, it is useless and there is no way to fix it again and make it future-proof.
tl;dr - How, with RadCartesianChart, do I convert from a graph value to screen position and back again?
InvalidOperationException: A style intended for type 'Telerik_Windows_Controls_RadTileViewItem_0_123599943' cannot be applied to type 'ContentPresenter'.
What is this supposed to mean? This appears to pop up randomly, and now I cannot get it to go away..
Hello!
At the Reorder-Drag&Drop there are 3 options to reorder the Tasks: "Before", "Inside" and "After". Is there a possibility to disable "Inside" and "After", so the user only has the option to reorder "Before"?
kind regards
Ludwig
Hi,
Is it possible when using the standard DateTimePicker to dynamically change the StartTime/EndTime properties of the Time-part of the control?
I would like the user to be able to click f.ex. 9:00 in the TimePicker, after which this same Time-picker part displays 9:05, 9:10, 9:15, 9:20... until 10:00
(a bit the same like for the Date-picker part - where you can choose the year, then month, then date ....)
Is that something that can be done?
Hi,
We would like our users to perform "undo/redo" in the GridView (at the very least, "undo") as in Excel where users can "undo/redo" changes in each cell.
Could you please help in providing an example of how to accomplish this scenario?
We are using MVVM with observable properties and observable collections.
Kind regards
I need to display grid filters with both an image and descriptive text. I've searched the forum and found numerous examples for adding the image, but none with both image and text.
Is this possible? if not, can I reduce the width of the filter dropdown to avoid the "ugly" whitespace in my filter list? There is really no need to include the "Apply" and "Clear" filter buttons as the check boxes auto apply the filters when checked or unchecked.
Here is what I have so far:
public class ImageFilterColumn : GridViewImageColumn
{
protected override Func<object, object> FilteringDisplayFunc => CategoryToFilterImage;
public static object CategoryToFilterImage(object value)
{
var rtn = new object();
var cat = (LogCategory) value;
var image = new Image() {Source = new BitmapImage(cat.ToSmallImageUri())};
return image;
}
}
xaml:
<telerik:RadGridView.Columns>
<local:ImageFilterColumn ShowFieldFilters="False" Header ="" DataMemberBinding="{Binding cat, Converter={StaticResource CategoryImageConverter}}"/>