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
635
XamDataChart Width and Y Axis
posted

Hello,

I have a 4 dynamics XamDatachart witch can have 0 to 4 Y axis.  My first problem is that I cannot fix width of Y axis region and charts regions. The second problem I have a zoom bar And I want fix his width like a width of XamDatacharts.

My View:

| Y1 Y2 Y3 Y4 | |  Chart 1  |

|Y1 Y2 | |  Chart 2  |

| | |  Emty     |

|    Y1 Y2 Y3 | |  Chart 4  |

 | Zoom Bar |

I want:

| Y1 Y2 Y3 Y4 ||  Chart 1   |

|          Y1 Y2 ||  Chart 2   |

|                   ||  Empty     |

|     Y1 Y2 Y3 ||  Chart 4    |

                     | Zoom Bar  |

Regards

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Anis,

     

    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 used a converter to set each XamDataChart’s Margin depending on the Axis’ Count. Also I added a static integer property to the MainWindow, which should be set to the maximum axis at any moment, so the margins could be calculated correctly.

     

    Hope this helps you.

    XamDataChartAxisMargin.zip
Children
No Data