I have requirement to have a window/page that will support
background Image, Ruler, zoom functionality , draw points (add, remove and move points)
draw lines and able to join lines to points.
I have attached an image gives rough idea.
Which controls/ library can I use to achieve this?
Thanks you
Actually, using XamDataChart as a ruler for XamDiagram control is not good idea because converting from coordinate system of XamDiagram to XamDataChart will result in incorrect values. However, I implemented a diagram ruler in application code which shows accurate coordinates of XamDiagram control. Also, I added some comments and suggestions that you can improve upon. Please up vote this feature request if you would like to see these rulers implemented in XamDiagram with better performance and more customization.
Thank you for sample app.
Somehow node position values are not correctly presented by chart ruler.
I like to understand how xamdatachart is related to xamdiagram in terms of coordinates.
What is the relation between XamDataChart WindowRect and XamDiagram WindowRect,WorldRect and ViewportRect.
Thanks again
Hello Jyotika,You can achieve your requirements using XamDiagram to draw and edit shapes and XamDataChart to show a ruler around the plot area of the XamDiagram. I attached sample app that demonstrates how to do this.Let me know if you have more questions about these controls.