Does anybody have an idea for how to dock a legend inside the chart area and to a corner (specifically the top-right corner, with about 5 pixel margin)?
I figure that I need to set the LegendPosition of the Legend to be Inside.
The only DockPositions available are Left, Top, Right, Bottom, and Floating. All of these options except Floating put the legend at the center of the side they represent.
If I set it to Floating, then it looks like I can use OffsetX and OffsetY to position it but that's in relation to the top-left corner, I'm wondering if there is a straightforward way to position it based on the top-right corner instead. I'm trying to avoid having to calculate the size of the chart, axes, margins etc. and then position it based on all that.
Also, since you have options to dock the legend to the right of the chart area, would it be possible for a future release to have options to dock the legend inside the chart to any of the 4 corners?
Any help is appreciated.