User (Legacy) Posted November 9, 2004 Report Share Posted November 9, 2004 Hi, I have figured out the right hand side of the statement. chart.Axis = CfxAxisStyle.AS_HIDETEXT; The right hand side is fine. But left hand side gives error as chart.axis is enumerated type. The error is :"Property or indexer 'ChartfxLib.ChartFXClass.Axis' cannot be assigned to -- it is read only". Also I cannot use anything like chart.Axis(AXIS_X) as it throws error like AXIS_X does not exist in the namespace and chart.Axis cannot be assigned anything. I am doing this in .net. Thanks Link to comment Share on other sites More sharing options...
Software FX Posted November 10, 2004 Report Share Posted November 10, 2004 chart.Axis = CfxAxisStyle.AS_HIDETEXT Is NOT correct. The property you need to set is Style: chart.Axis.Style = chart.Axis.Style or CfxAxisStyle.AS_HIDETEXT Notice that all of this complications come from the fact that you are trying to use our COM component from .NET instead of using the .NET component. Why don't you use the .NET version ? it will make your life a LOT easier. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.