Jump to content
Software FX Community

prcunningham

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by prcunningham

  1. This my code. How do I attach a image?  I tried dragging on the default data thats loaded when the chart first comes up and it did the same thing. 

     

    dt = New DataTable("Test")

    Dim cols() As String = {"Total Time", "Time", "Bot Temp", "Pressure", "Top Temp", "MFC4", "Argon", "ArN2", "Vent"}For Each col As String In cols

    dt.Columns.Add(col, Type.GetType(

    "System.Single"))

    Next

     

    cfx.Series.Clear()

    cfx.DataSourceSettings.Fields.Add(New FieldMap("Total Time", FieldUsage.XValue))

    For Each dc As DataColumn In dt.ColumnsIf Not dc.ColumnName.Equals("Total Time") Then cfx.DataSourceSettings.Fields.Add(New FieldMap(dc.ColumnName, FieldUsage.Value))

    Next

    cfx.DataSourceSettings.DataSource =

    New DataTableProvider(dt)
  2. that works but there is still a problem.  I have multiple series and I am using allowdrag.  when i do it your way if I drag values from any series other that the first series everything disappears except the point that I dragged.

×
×
  • Create New...