Jump to content
Software FX Community

LianZA

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by LianZA

  1. 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

×
×
  • Create New...