I'm pretty new to wpf, but used Infragistics in the past. I have an XamChart and I want to have a context menu with a zoom in/zoom out entries. I can get the items into the context menu, but not sure how to wire up the events. Can anyone steer me in the right direction? Thanks so much.
More info: this is an XamDataChart, not a plain XamChart.
Hello Kathy,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the MenuItem’s Click event and in the handler I increase or decrease the XamDataChart’s WindowScaleHorizontal and WindowScaleVertical Properties based on the item clicked (Zoom In or Out). Please let me know if you need more clarifications on this matter.
Looking forward for your reply.
Could you redo this in VS2010? I don't have VS2012. Thanks.