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 |
Regards
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.