Jump to content
Software FX Community

SubCommandID not setting in SoftwareFX.ChartFX.Wrapper.Command

Matt Dupuis

Recommended Posts

I'm trying to implement the Wrapper to convert our code from 6.2 and I'm using SubCommandID to pass in IDs but under the wrapper when I create a command object SubCommandID is null.


Here's an example:

CommandBar cmds = Chart.Commands;Command cmd = cmds.AddCommand(PointLabelCommandID);cmd.SubCommandID[0] = 51;  // <- SubCommandID is null when using the wrapper where before it was a CommandList

Any help you could offer would be much appreciated.



Link to comment
Share on other sites

Looks like a bug in the wrapper. The easiest way to go about this is to migrate this piece of code to the new version.

 Notice that the wrapper chart object gives you access to the actual Chart FX 7 object through the ChartFX7Object property.

Link to comment
Share on other sites


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

  • Create New...