User (Legacy) Posted July 7, 2005 Report Share Posted July 7, 2005 My data is structured as follows QSTEXT RESPONSES QSMQF How Many .... 10 10203 Do You ever... 48 10349 Would you con... 35 10102 . . . I am using a DataTableProvider as follows dt = New SoftwareFX.ChartFX.Data.DataTableProvider dt.DataTable = Data(refresh).Tables(0) chart.DataSourceSettings.DataType.Item(0) = SoftwareFX.ChartFX.DataType.Label chart.DataSourceSettings.DataType.Item(1) = SoftwareFX.ChartFX.DataType.Value chart.DataSourceSettings.DataType.Item(2) = SoftwareFX.ChartFX.DataType.NotUsed I expected to get a single series back and later use QSMQF in the Tag property. But instead I get a graph with two series RESPONSES and QSMQF. If I change my data and return QSMQF as string like :10203 then it works fine. But as long as my extra data is numeric it does not work. Any help would be appreciated. Thanks, Chris Francis Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 8, 2005 Author Report Share Posted July 8, 2005 I think I figured it out. I have to call the DataType before I set the Data source not after. "Chris Francis" <cfrancis@jacksongroup.com> wrote in message news:asmGBawgFHA.1476@webserver3.softwarefx.com... My data is structured as follows QSTEXT RESPONSES QSMQF How Many .... 10 10203 Do You ever... 48 10349 Would you con... 35 10102 . . . I am using a DataTableProvider as follows dt = New SoftwareFX.ChartFX.Data.DataTableProvider dt.DataTable = Data(refresh).Tables(0) chart.DataSourceSettings.DataType.Item(0) = SoftwareFX.ChartFX.DataType.Label chart.DataSourceSettings.DataType.Item(1) = SoftwareFX.ChartFX.DataType.Value chart.DataSourceSettings.DataType.Item(2) = SoftwareFX.ChartFX.DataType.NotUsed I expected to get a single series back and later use QSMQF in the Tag property. But instead I get a graph with two series RESPONSES and QSMQF. If I change my data and return QSMQF as string like :10203 then it works fine. But as long as my extra data is numeric it does not work. Any help would be appreciated. Thanks, Chris Francis Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.