Is it possible to select multiple screen shapes at once? Either by Shift-click or mouse-drag over shapes to select them, or preferably both. Do I need to implement this myself separately to the RadDiagram functionality? I'd like to be able to drag around multiple items, or delete multiple items, etc.
Thanks.




I have a data model that I'm trying to draw in a Diagram. I'm having some success with a custom shape class something like below. MyModelElement has X, Y, W, H & Text as well as other model data. I'm getting the bounding box in a different location to my visible shape, and it's always 100x100. I tried adding
Size = new Size(element.W, element.H)in the RadDiagramShape creation below, but didn't change anything. Any help appreciated.
My code to populate the diagram is similar to below.
private void PopulateDiagram(){ foreach (var element in elements) { var elementShape = new MyElementShape(element); var shape = new RadDiagramShape { Text = element.Text, ElementShape = elementShape, ForeColor = Color.Black, DrawBorder = true, BorderThickness = new Padding(1), Position = new Telerik.Windows.Diagrams.Core.Point(element.X, element.Y) }; radDiagram1.AddShape(shape); } public class MYElementShape : ElementShape{ public MyElementShape(MyModelElement element) { _element = element; } public override GraphicsPath CreatePath(Rectangle bounds) { GraphicsPath path = new GraphicsPath(); path.AddRectangle( new Rectangle(_element.X, _element.Y, _element.W, _element.H)); return path; }
}
I've added a custom toolbox shape using information from this thread. http://www.telerik.com/forums/how-to-custom-a-diagramtoolbox-item
But in my toolbox, the Key value is displayed as the label way below the actual shape. See toolbox.jpg. It must be to do with the bounds, but how do I set them?
In my override of ElementShape.CreatePath, where do the values for bounds come from? (see bounds.jpg).
Hello Telerik team,
I have read on the documentation that the ChartView support null values on series but only by drawing a blank point. It's a good idean on some chart type but on line series the result is just unusable most of time.
Is there a way to have the same behavior than Microsoft Excel, which just drop these null points, and draw a continus line between two points ?
Best regards
Marco


Dear Support Team
I need to sync position and width for two RadCartesianChart's considering multiple axes.
Please see attached image, the vertical axes to first and second chart start unsynchronized.
How can we solve this issue?
Thanks in advance!
Best regards,
Henrique
