Jump to content
Software FX Community

Legend not sizing properly

User (Legacy)

Recommended Posts

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->Docked = TGFP_RIGHT;

pChart->SerLegBoxObj->MultiLine = TRUE;

pChart->SerLegBoxObj->Visible = TRUE;

Any idea what could be causing this?


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...