With the current implementation of our RadDiagram
control there is no built-in mechanism which allows users to change the beginning (start) of the coordinate system of the control.
However, you can try achieving your requirement by applying a ScaleTransform
to the control. Please have in mind that all of the text fields in the domain of the control will be flipped, also. Hence, you will need to apply a transformation to all of the elements/fields that you need to visualize as usual.
When working with the RadDiagram
control you need to keep in mind that we do not expose mechanism for handling the coordinate system that you require.
However, you can implement custom logic in your ViewModel
which will convert your custom coordinates into the coordinates that are supported by the RadDiagram
out of the box.
Furthermore, when you calculate the position of your custom shapes you can bind the RadDiagramShape
property to a property of type Point
in your ViewModel
. By doing so you will preserve the position of each shape in your ViewModel
Regarding the customization of the ItemInformationAdorner
, you can extract the default template and customize the ContentTemplate
of the ContentPresenter
". You will be able to bind the Text
properties of the TextBlocks
to your custom properties defined in your ViewModel
I would summarize that in order to achieve your requirements you need to:
- Implement customizations that are involved with the default template of our controls
- Implement custom converter between the coordinate system of the RadDiagram and your custom coordinate system
I can see that your trial has already expired and I would offer you my help on extending it. However, our management now requires us to submit paper work before granting trial extensions. If you can answer the following questions, I will file the paper work so we can get started!
- How long do you need the extension for?
- When are you hoping to decide on purchase a product?
- If RadControls for WPF suites your needs, how may licenses would you/your company be interested in purchasing?
I am looking forward to hearing from you.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>