User (Legacy) Posted July 19, 2005 Report Share Posted July 19, 2005 I am trying to set my datasourcesettings, via enumerated DataTypes... your example below shows this. What are the enumeration values for the DataType enumeration? Chart1.DataSourceSettings.DataType(0) = DataType.Label Chart1.DataSourceSettings.DataType(1) = DataType.Value Chart1.DataSourceSettings.DataType(2) = DataType.Value Chart1.DataSourceSettings.DataType(3) = DataType.Value #Region "Enum DataType" Public Enum DataType label = ?? value = ?? ? ? ? End Enum #End Region -- Thanks, SCOTT HOFFMAN Link to comment Share on other sites More sharing options...
Software FX Posted July 19, 2005 Report Share Posted July 19, 2005 I'm afraid I do not understand your question. The DataType enumeration is defined inside the Chart FX assembly so you can use it if you reference the assembly, you may need to fully-qualify it if you are not doing a "using", for example: Chart1.DataSourceSettings.DataType(0) = SoftwareFX.ChartFX.DataType.Label Or do you actually want to know the actual values for each name ? If you want to find out what the value of any enumeration is you can do: int intValue = (int) DataType.Label; -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 20, 2005 Author Report Share Posted July 20, 2005 Francisco, Thank you for the help with this issue. I was mistaken, I thought that the reference alone would have defined the enumerated DataType. Fully-qualifying it was the answer. -- Thanks, SCOTT HOFFMAN "Software FX" <noreply@softwarefx.com> wrote in message news:suOXFSNjFHA.2040@webserver3.softwarefx.com... I'm afraid I do not understand your question. The DataType enumeration is defined inside the Chart FX assembly so you can use it if you reference the assembly, you may need to fully-qualify it if you are not doing a "using", for example: Chart1.DataSourceSettings.DataType(0) = SoftwareFX.ChartFX.DataType.Label Or do you actually want to know the actual values for each name ? If you want to find out what the value of any enumeration is you can do: int intValue = (int) DataType.Label; -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.