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
150
Sync Axis Label Width between two xamDataCharts?
posted

Hello *,

I need to display two charts one below the other, where the format and tickmarks of the axis-labels are customizable by the user.

actual:

|Axis1|Chart1|

|Axis2 with longer Labels|Chart2|

suggested:

|                        Axis1|Chart1|

|Axis2 with longer labels|Chart2|

Is there a simple way to sync the start of the chartareas or to sync the width of the axis-labels?

Parents
  • 29105
    Offline posted

    Hello Andreas,

    The behavior your looking for is controlled by a combination of two AxisLabelSettings

    1. Extent - increase the value to add more space between the label and the edge of the chart.

    2. Location (I recommend setting this to one of the Inside members - depends on the axis)

    Let me know if you have any questions regarding this matter.

Reply Children