I am attempting to change the right hand margin on a composite chart to allow the legend to sit there by itself instead of overlapping the chart. I've tried a lot of different methods. I'm guessing it has to do w/ the Chartarea.Bounds, am I getting close? Can someone help me out? Using UltraChart 8.2 in C#. Thanks.
yes. try setting the ChartArea.BoundsMeasureType to Percentage, then set the Bounds to X=0, Y=0, Width=80, Height=100. That will leave 20% of the chart space free to display the legend on the right side.
This is what I have so far:
ChartArea area = new ChartArea(); area.BoundsMeasureType = MeasureType.Percentage; area.Bounds.X = 0; area.Bounds.Y = 0; area.Bounds.Width = 80; area.Bounds.Height = 100;
Code halts at area.Bounds.X = 0;
Something I'm missing?