Jump to content
Software FX Community

Invisible Legends in Pie Charts


User (Legacy)
 Share

Recommended Posts

I haven't been able to get a legend box to appear in a pie chart.  I tried 

the following code (adjusted from a sample):

chfxAssets.Gallery = PIE

chfxAssets.PointLabels = True

chfxAssets.OpenDataEx COD_VALUES, 1, rlist.length - 1

For i = 0 To rlist.length - 1

Set row = rlist.Item(rowcount)

chfxAssets.ValueEx(0, i) = row.selectSingleNode("Value").Text

chfxAssets.Legend(i) = row.selectSingleNode("SubCategory").Text

Next

chfxAssets.CloseData COD_VALUES

chfxAssets.LegendBox = True

chfxAssets.LegendBoxObj.AutoSize = True

chfxAssets.LegendBoxObj.Docked = TGFP_BOTTOM

I'd appreciate any help...

Thanks,

Sajid S. Raza

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...