Jump to content
Software FX Community

LianZA

Members
  • Posts

    5
  • Joined

  • Last visited

LianZA's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi David, As a work around, try iterating through the labels collection and set each label's formatting manually, this seems to work.
  2. Hi I'm currently binding to a Datatable's rows property as follows: (this works 100% for line and area charts) Dim series2 As New SeriesAttributes series2.ItemsSource = tbl.Rows series2.Gallery = Gallery.Bar series2.BindingPath = "CUM_BM_RET" series2.BindingPathX = "DATE" Chart1.Series.Add(series2) X axis labels turns out fine but no data is shown, just an empty chart If i dont set the "BindingPathX property on the series, but set the BindingPath property on AxisX.Label : Chart1.AxisX.Labels.BindingPath = "DATE" The chart and labels display correctly, except setting the format or custom format has no effect on the labels Chart1.AxisX.Labels.Format = AxisFormat.Date Chart1.AxisX.Labels.CustomFormat = "yyyy/MM/dd" The labels are still shown in full date time format ("2008/01/31 12:00:00 AM") What is the correct way to this? I'm using build 0.8.3091.27388
  3. No I was not using your 12 Feb build, this fixed the problem! Thanks for your time.
  4. Heres my code: Dim sTable1 As System.Data.DataTable = GetSeries(.... Dim series1 As New SeriesAttributes series1.ItemsSource = sTable1.Rows series1.BindingPath = "SERIES1" series1.Gallery = Gallery.Bar fxChart.Series.Clear() fxChart.Series.Add(series1) I'm binding to a datatable that looks like this: DATE SERIES1 SERIES2 SERIES3 2007/04/30 12:00:00 AM 0.0374 0.0381994776 2007/05/31 12:00:00 AM 0.012625258 0.0106750797 2007/06/30 12:00:00 AM -0.0088050042 -0.008834297 2007/07/31 12:00:00 AM 0.009730482 0.0095879535 .. Also I've noticed fxChart.pointcount = 5,and fxChart.points.count = 0
  5. I'm trying to draw a column chart with all bars starting at y=0 and moving to the y value, ie negative values will have their bars below the y=0 line, while positive values will have their bars above the y=0 line. What I'm getting is all bars starting at the minimum y value (example -0.2) and moving up to the y value, like an area chart. What property changes this behavior?
×
×
  • Create New...