User (Legacy) Posted June 2, 2004 Report Share Posted June 2, 2004 This is my problem, I load the chart control with simple data (This table I copy from the clipboard after chart fx put it there) 0 1.26 1/2 4.30 3/4 10.48 5/6 16.24 7/8 18.14 9/10 17.54 11/12 14.92 13/14 17.12 None of these 0.00 Where the first column are the lables for the points and the graph is a simple bar chart Then I execute this code (of course oGraph is the ChartFxControl): Dim msData As New IO.MemoryStream oGraph.Export(SoftwareFX.ChartFX.FileFormat.Text, msData) msData.Seek(0, IO.SeekOrigin.Begin) oGraph.Import(SoftwareFX.ChartFX.FileFormat.Text, msData) and it crash with the phrase: "Input String was not in the correct format" This is the stack trace: System.FormatException: Input string was not in a correct format. at System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info) at System.Double.Parse(String s, NumberStyles style, IFormatProvider provider) at SoftwareFX.ChartFX.4.GetValue(Object obj) at SoftwareFX.ChartFX.DataSourceSettings.2M() at SoftwareFX.ChartFX.DataSourceSettings.2L(Boolean 0UG) at SoftwareFX.ChartFX.DataSourceSettings.set_DataSource(Object value) at SoftwareFX.ChartFX.ChartCore.set_DataSource(Object value) at SoftwareFX.ChartFX.ChartCore.Import(FileFormat format, Stream stream) Any clue that can help me? or a workaround maybe so? Jorge Link to comment Share on other sites More sharing options...
Software FX Posted June 3, 2004 Report Share Posted June 3, 2004 There's is something wrong here. The first line of the file has the first column as a numeric column (0) but the rest has it as a Date-Time value. Please save the chart to a binary file and attach it to your post so that we can reproduce the problem and fix it. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 4, 2004 Author Report Share Posted June 4, 2004 No, there is nothing wrong here. The first column are dress size, but from the second row and lower, the dress size were combined, that is the 1/2 means on the second row. The dress size 0 was treated as special because is the "entrance level". So none of them are numeric or date time, the first column is a text column. Anyhow, I open a case with the support team and they were able to reproduce and bring it to the dev team. I'll follow up with them. Jorge "Software FX Support" <support@softwarefx.com> wrote in message news:AKIs47dSEHA.220@webserver3.softwarefx.com... > There's is something wrong here. > > The first line of the file has the first column as a numeric column (0) but > the rest has it as a Date-Time value. > > Please save the chart to a binary file and attach it to your post so that we > can reproduce the problem and fix it. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.