CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jbaltrus

Search: Search took 0.05 seconds.

  1. Replies
    4
    Views
    1,520

    Re: convert string array to double array

    it's a file, see attached. first line goes as a legend for my columns, so disregard them, I omitted some code
  2. Replies
    4
    Views
    1,520

    convert string array to double array

    I am trying to convert string array to a double array. I am not succeeding as I am getting the exeption of System.FormatException was unhandled
    Message=Input string was not in a correct format.
    ...
  3. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    and how do I add code as a code window in this forum? sorry for ignorance
  4. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    Right, very useful. So I am trying to read an external data file filled with numbers into a DataTable. It all ends up quite ugly.

    First, I can't add the data as x and y (or possibly many y values)...
  5. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    OK, #1 and #2:

    I created a dataset

    public class Text2DataSet
    {
    public static DataSet Convert2DataSet(string tableName)
    {
    DataSet ds = new DataSet();
  6. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    not much luck. I have tab separated x-y text file and I need to plot it. I do not know how to feed that file into chart control
  7. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    then this is exactly what I am going to do: study chart control. I'll come back and complain here (which I do very well) if I fail again
    any useful link for chart control?
  8. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    Much better. Now there is no exception.

    One question is: how do I step through routine?
    The other, bigger problem is: there is still no draing generated. I created windows forms window with two...
  9. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    sure. I am getting:

    Input string was not in a correct format.

    All I want to do is to import data set into datagridview (which I do successfully) and then plot it connecting points with lines
  10. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    OK, simplified everything. How would I use OnPaint and DrawLine to plot data from DataGridView? The code below gives me exception that

    float x2 = Convert.ToSingle(
    ...
  11. Replies
    16
    Views
    6,338

    Re: generate plot from populated DataGridView

    I meant DataSeries:

    //e.Graphics.DrawLines(Pen, PointF(x,y));
    base.OnPaint(e);
    }

    and DataSeries:

    namespace Example8_3
    {
  12. Replies
    16
    Views
    6,338

    generate plot from populated DataGridView

    I would like to try plotting x and multiple y data from data residing in DataGridView. I populate datagridview but have no idea how to handle an event to get it plotted. I am using windows forms. I...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured