Chartlistbox-Items overlap

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Elric
Newbie
Newbie
Posts: 21
Joined: Fri Nov 15, 2002 12:00 am

Chartlistbox-Items overlap

Post by Elric » Wed Apr 06, 2005 8:55 am

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

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Apr 07, 2005 9:21 am

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.

Post Reply