Jump to content
Software FX Community

BrandonM

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by BrandonM

  1. Hi, Is there a sample or documentation on going from the .Lite version of ChartFX to the Pro/Commercial version? I've found it's not as simple as referencing the new controls and using the same code. Here are the two charts I have in .Lite: Chart1 DataSource is a DataTable (dt) with one column - "Failure" With chart_da_1.DataType(0) = DataType.Value.AxisX.LabelsFormat.Decimals = 0.Titles(0).Text = "System Sensitivity".AxisX.Max = 10000.Gallery = Bar.DataSource = dt.DefaultView.Legend(0) = "189".Legend(0) = "066".Legend(0) = "264".Legend(0) = "337".Legend(0) = "203".Legend(0) = "584".Legend(0) = "646".Legend(0) = "353".Legend(0) = "341".Legend(0) = "352" .BackColor = Color.White.AxisY.Gridlines = True.Series(0).Color = Color.Blue Chart2 Source is basic DataTable(dt) with two columns: Miles, Reli chart_da_2.DataType(0) = DataType.Label chart_da_2.DataType(1) = DataType.Value chart_da_2.DataType(2) = DataType.NotUsed chart_da_2.Gellery = Scatter chart_da_2.NValues = 2 chart_da_2.Titles(0).Text = "System Reliability" chart_da_2.DataSource = dt chart_da_2.BackColor = Color.White chart_da_2.AxisY.Gridlines = True chart_da_2.MarkerShape = SoftwareFX.ChartFX.Lite.MarkerShape.Rect chart_da_2.AxisX.AdjustScale() Any help would be greatly appreciated.I tried this:Dim dtp as DataProviders.DataTableProvider = New DataTableProvider(dt)With Chart2 DataSourceSettings.Fields.Add(New FieldMap("Miles", FieldUsage.Label)) DataSourceSettings.Fields.Add(New FieldMap("Reli", FieldUsage.Value)) DataSourceSettings.DataSource = dtpEnd With And I get a line, but it's going the wrong way (X/Y flipped) When I bind Chart1, I get no data available (I checked the datatable and the DataTableProvider and both have values)Thanks,Brandon
×
×
  • Create New...