Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
CustomControl as the scaling axis in xamDataChart
posted

Hi,

I am trying to insert a User Control in the xamDataChart where the control needs to be displayed along with the xAxis of the chart coctrol as shown in the attached image. This user control is derived from "FrameworkElement" provides a scaling measurement that needs to be present along with the xAxis of the chart. Here our requirement is to make sure that both the chart xAxis and the UserControl needs to be in sync (as shown in the pic) always even when the chart is resized.

Is it possible to place the usercontrol along with the xaxis? or can we replace the xaxis scaling with this user control? 

kindly suggest a way to achieve this or provide a sample which will help to do this.

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Manuj,

     

    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 copied the default Style for the XamDataChart and add a Button in its Template, but you can add your custom UserControl there. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamDataChartCustomControl.zip
Children