User (Legacy) Posted June 24, 2003 Report Share Posted June 24, 2003 Is there any plan to add text wrapping in chart & axes titles any time soon? If not, is there a way I can find out the size of the chart's background area - i.e. the rectangle the chart is drawn on, excluding the axes, labels and titles - so that I can perform the wrapping myself by inserting \n's whenever it's too wide? I could set the chart title's DrawingArea property to false and then I can wrap it to the client rectangle's width but then I still need to do the y-axis title properly somehow. Link to comment Share on other sites More sharing options...
Software FX Posted June 27, 2003 Report Share Posted June 27, 2003 Yes you can find out about this area using the ValueToPixel method in the Axis object. You basically need to call ValueToPixel with the Min and Max of the X and Y axis to obtain the rectangle enclosing the chart. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.