ArgumentException occurs when the ItemsSource of the chart series is populated with items that implement the ICustomTypeProvider interface and the value binding properties of the series (ValueBinding, CategoryBinding, YValueBinding, XValueBinding, etc.) are assigned to dynamic properties. This happens when the value binding properties are assigned to PropertyNameDataPointBinding object pointing to a property name. This is also what happens if you set the properties in XAML using string values.
To work this around, you can use the GenericDataPointBinding<T> class defined in code-behind in order to assign the value binding properties.
Or alternatively, you can implement custom PropertyNameDataPointBinding class and override its GetValue() method. In the method, you can check the item type and if it is ICustomTypeProvider, and then execute custom code that gets the value. The custom PropertyNameDataPointBinding implementation is shown in the attached CustomPropertyNameDataPointBinding.zip file. To use the custom binding class in XAML, you can use the following syntax:
<telerik:ScatterPointSeries.YValueBinding>
<local:CustomPropertyNameDataPointBinding PropertyName="Y" />
</telerik:ScatterPointSeries.YValueBinding>
The SeriesCreated event of the RadChartView's SeriesProvicer is never called when the SeriesDescriptorSelector property is used.
To work this around, you can create a custom chart series descriptor and override its CreateInstanceCore method.
public class CustomScatterSeriesDescriptor : ScatterSeriesDescriptor
{
protected override ChartSeries CreateInstanceCore(object context)
{
var series = (ScatterSeries)base.CreateInstanceCore(context);
// assign whatever settings you need here
return series;
}
}
ChartView: Add support for axes rendering, when no data is available As a workaround add a series with one point and set its color to transparent. <telerik:ScatterLineSeries XValueBinding="." YValueBinding="." Stroke="Transparent"> <telerik:ScatterLineSeries.ItemsSource> <x:Array Type="system:Int32"> <system:Int32>0</system:Int32> </x:Array> </telerik:ScatterLineSeries.ItemsSource> </telerik:ScatterLineSeries>
Create 2-dimensional contour plot from unstructured 3-dimensional data. Means the points are randomly arranged in the XY plane. Attached file shows an example of what I would like to achieve. I think the contour plot Telerik does currently requires a structured grid, i.e. full grid of NxM points.
Please add the Contour series for showing the scatter (X,Y) lines which are connecting the points with the equial Z- coordinate. Currently a scatter 3D surface (X,Y,Z) can now be shown only as 3D chart.
Often it is necessary to show 3D surface as 2D chart with lines connecting (X,Y) points with "same Z-level" .
Samples:
References:
Support for displaying error bars
The problem arises when we have many graphs on one window and when we scroll to the bottom then to the middle of the window and then resize the width of the window, not all graphics dynamically resize, some harden to the previous size.
I am attaching a project in which you can reproduce the problem.
And I am attaching a video where the problem is clearly demonstrated.
Please solve the problem as soon as possible for our product it is critical!
LabelRotationAngle applies to labels only in horizontal axis.
It is mainly needed in Vertical axis, when the chart is rotated externally, when placed in rotated panel or control. In this case the vertical axis take the role of a horizontal axis visually and easy way to rotate all labels is needed for readability.
Add the option for having separate PanZoomBars for each axis, so the user can scroll/zoom each axis independently from the other axes.
When a chart have long labels on the X axis (like date and time) the zoom is not accurate on the horizontal extents with both mouse wheel and drag area.
The reason is probably that the screen coordinates of the selected area are not mapped correctly on the X axis. The mapping works fine for tooltip.
You can verify this behavior in the attached Solution. In the images you can see the selected area (01), that the zoomed area is a region with no points (02) and the actual position of the points.
Add support for BoxPlot series type either through enabling extensibility of the CandlestickSeries type, or through providing new built-in BoxPlot series type.
Gaps appear between the bars in the stacks when the series are populated with negative and positive values. Check the attached picture. If you have a scenario with mixed values (positive and negative) use RangeBarSeries instead of BarSeries.