User (Legacy) Posted May 4, 2000 Report Share Posted May 4, 2000 I'm having difficulty with sizing the legend box appropriately. When I first generate my graph, the legend box (docked to right of window) is HUGE, taking up over three quarters of the window, regardless of the size of the text it encloses. If I re-dock the legend, it sizes perfectly, as it does if I generate the same chart a second time. The final manipulation of my chart object before displaying it (after all the series have been added) is to add the legend box: // set up the legend. (using VC6, DLL) pChart->SerLegBoxObj->PutAutoSize(TRUE); pChart->SerLegBoxObj->Docked = TGFP_RIGHT; pChart->SerLegBoxObj->MultiLine = TRUE; pChart->SerLegBoxObj->Visible = TRUE; Any idea what could be causing this? Andrew Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.