Hi,
I am currently trialing your products. I am displaying 2 charts and want to synchronise the vertical axis widths / alignment. It is currently being displayed like this..
Ideally I would like it to look something like this...
Hello Michel,
I have been looking into your requirement and usually there is no built-in functionality for synchronizing the boundaries of the XamDataChart, however the space that is reserved for the Labels can be set through the Extent property of the LabelSettings. I suppose that in a situation like this you’d like to know which XamDataChart has the widest auto-calculated Extent. Since there is no property exposing that information I can suggest getting an instance of the visual element that presents the labels and use its ActualWidth property to find out the value to use. You can do this like so:
VerticalAxisLabelPanel panel = Utilities.GetDescendantFromType(chart, typeof(VerticalAxisLabelPanel), false) as VerticalAxisLabelPanel;
panel.ActualWidth.ToString();
Please let me know if you require any further clarification on the matter.