DannE Posted August 24, 2007 Report Share Posted August 24, 2007 I am trying to plot bar graphs and the data that I am getting from the database is in string format. Apparently ChartFX doesn't convert strings to float and says 'no data available'. Is there an option in CharFX that would enable it to automatically convert the string data to float? Also, I have two rows in a datatable and I want to plot a line graph of one row against the other. Can this be done? Quote Link to comment Share on other sites More sharing options...
Frank Posted August 24, 2007 Report Share Posted August 24, 2007 Yes you can use the DataType property to force these columns to be Values. Note that you will get an exception if the string can not be converted to a number. It is much more efficient to pass the data as numbers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.