Page 1 of 1

Chartlistbox-Items overlap

Posted: Wed Apr 06, 2005 8:55 am
by 6929966
Hello
I have a problem with the ChartListBox. When more items are in there and MultiColumn is true, more items are on the same position. To reproduce, make a new VB.Net project, add TChart and a ChartListBox, that is not to big(f.e. width:300 and height:76) and add the following code to Form_Load:

Code: Select all

      ChartListBox1.Chart = Me.TChart1
      ChartListBox1.MultiColumn = True
      Dim s1 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
      Dim s2 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
      Dim s3 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
      Dim s4 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
      Dim s5 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
      s1.Title = "aaaaaaaaaaa"
      s2.Title = "bbbbbbbbbbb"
Then you see, that some of the texts are written over each other. When you try to change selection, the box shows a very odd behavior.
Any idea?

Greetings
Elric

Posted: Thu Apr 07, 2005 9:21 am
by Pep
Hi Elric,

yes, the ChartListBox is not prepared to have MultiColumn. I've added this feature on our wish list to be considered for further releases.