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
325
CompositeChart aligning composite legend to the right... how?
posted

Hi,

I've hit a bit of a brick wall, I have a composite chart using an X, Y and Y2 axis.  It has a ColumnChart and LineChart rendering perfectly.

I'm also rendering two appropriate legends, and positioning them using bounds, at present in the upper left corner.

What I want to do is reserve 20% of the entire chart space to put the legends on the right side of the chart.

I haven't got a clue where I should start in order to achieve this....?

Parents
No Data
Reply
  • 325
    Verified Answer
    posted

    Found the answer.  At first I was trying to use chart.Axis.X.Extent, but this wasn't doing anything.

    I needed to mark the extents on my AxisElement I was manually adding to the chart layers.

Children
No Data