Jump to content
Software FX Community

ILegendBoxItem to ILegendBoxItemCollection


User (Legacy)

Recommended Posts

Hi Francisco,

Thank you for helping me a lot.

I am configuring items in my legendbox using the reference:

ms-help://SFX.ChartFX.70/chartfx7_net_win_api/LegendBox_ItemAttributes.htm

I supposed to follow this code:

Dim lia As LegendItemAttributes = New LegendItemAttributes

chart1.LegendBox.ItemAttributes(CType(chart1.Series(1),ILegendBoxItem)) =

lia

But since ItemAttributes only accept ILegendBoxItemCollection and NOT

ILegenBoxItem, so I have to convert it to ILegendBoxItemCollection. When I

did this, ofcourse I'll get an error message "Cannot convert

seriesAttributes to ILegendBoxItemCollection".

Why does the help is different from the DLL? Need help.

Thank you,

Raymond Dazo

Interprise Solutions Team

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...