not all labels are displayed on bottom axis
not all labels are displayed on bottom axis
For some years now we create a specific chart see below chart and data. Since we are using the teechart . net V3 for visual studio 2008 we are see that not all labels are displayed on the bottom axis. Is there some changed functionality in version 3?
The graphserie has the following settings
Type= GraphSerie.SerieStyles.StyleLine
Color = System.Drawing.Color.Black
LineStyle = Drawing2D.DashStyle.Solid
We add data using
AddDataPoint(New GraphData(<label>,<value>))
The graphserie has the following settings
Type= GraphSerie.SerieStyles.StyleLine
Color = System.Drawing.Color.Black
LineStyle = Drawing2D.DashStyle.Solid
We add data using
AddDataPoint(New GraphData(<label>,<value>))
- Attachments
-
- image of chart with complete bottom axis
- previous.JPG (39.47 KiB) Viewed 10345 times
-
- image of chart with incomplete bottom axis
- vs2008.JPG (40.92 KiB) Viewed 10345 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: not all labels are displayed on bottom axis
Hi SvenE,
TeeChart sources are constantly being modified and we are constantly trying to enhance them and fix as many bugs as possible. However, it can also happen that some functionality has been broken. Anyway, I would expect functionality being the same in this field. Could you please check if latest TeeChart for .NET v3 update build available solves the problem at your end and if it doesn't attach a simple example project we can run "as-is" to reproduce the problem here and let us know which which TeeChart version it worked as expected?
Thanks in advance.
TeeChart sources are constantly being modified and we are constantly trying to enhance them and fix as many bugs as possible. However, it can also happen that some functionality has been broken. Anyway, I would expect functionality being the same in this field. Could you please check if latest TeeChart for .NET v3 update build available solves the problem at your end and if it doesn't attach a simple example project we can run "as-is" to reproduce the problem here and let us know which which TeeChart version it worked as expected?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: not all labels are displayed on bottom axis
Hi,
I downloaded the laters version today and the problem still exists.
The version TeeChartNET12004.16592.exe did not have this problem. I'll check if I can create a simple test application to demonstrate the issue. Can I upload a RAR file tot this forum?
I downloaded the laters version today and the problem still exists.
The version TeeChartNET12004.16592.exe did not have this problem. I'll check if I can create a simple test application to demonstrate the issue. Can I upload a RAR file tot this forum?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: not all labels are displayed on bottom axis
Hi SvenE,
Excellent, thanks!
Thanks for your feedback. That's TeeChart for .NET v1 Build 1.1.2004.16592 from June 2005.I downloaded the laters version today and the problem still exists.
The version TeeChartNET12004.16592.exe did not have this problem.
I'll check if I can create a simple test application to demonstrate the issue.
Excellent, thanks!
Yes, I think so.Can I upload a RAR file tot this forum?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: not all labels are displayed on bottom axis
Hi I want to upload a rar with the sample visual studio solution, but your upload routine has a max file size of 512KiB. the upload is 1.138. Is there an other way to send you this sample?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: not all labels are displayed on bottom axis
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: not all labels are displayed on bottom axis
Hi,
I uploaded the sample project using the upload page,
regards,
Marc Evers
I uploaded the sample project using the upload page,
regards,
Marc Evers
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: not all labels are displayed on bottom axis
Hi Marc,
Thanks for the example project. I could reproduce the issue here. I checked it works fine in TeeChart for .NET v1 and v2 but fails in v3 and 2009. I've added the defect to the list to be fixed with ticket number TF02014629.
In the meantime, a workaround is using custom labels, for example:
Hope this helps!
Thanks for the example project. I could reproduce the issue here. I checked it works fine in TeeChart for .NET v1 and v2 but fails in v3 and 2009. I've added the defect to the list to be fixed with ticket number TF02014629.
In the meantime, a workaround is using custom labels, for example:
Code: Select all
Dim myXMLfile As String = "tchart.xml"
Dim ds As New DataSet()
Dim fsReadXml As New System.IO.FileStream(myXMLfile, System.IO.FileMode.Open)
Try
ds.ReadXml(fsReadXml)
Catch ex As Exception
MessageBox.Show(ex.ToString())
Finally
fsReadXml.Close()
End Try
With TChart1
.Dock = DockStyle.Fill
Dim s As TeeChart.Styles.Line = New TeeChart.Styles.Line(.Chart)
s.LinePen.Style = Drawing2D.DashStyle.Solid
s.LinePen.Width = 1
s.LinePen.EndCap = Drawing2D.LineCap.Round
s.Color = Color.Black
.Legend.CustomPosition = False
.Legend.ResizeChart = True
.Axes.Right.Grid.Visible = False
s.Title = "sample chart"
For Each row As DataRow In ds.Tables(2).Rows
s.Add(CDbl(row(1).ToString()), row(0).ToString)
Next
.Axes.Bottom.Labels.Items.Clear()
For i As Integer = 1 To s.Count - 1
If s.Labels(i) <> "" Then
.Axes.Bottom.Labels.Items.Add(s.XValues(i), s.Labels(i))
End If
Next
End With
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: not all labels are displayed on bottom axis
We applied the workaround. We now wait for a release with a proper fix.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: not all labels are displayed on bottom axis
Hi SNSSEC,
This has been fixed for last TeeChart for .NET 2009 maintenance release:
http://www.teechart.net/support/viewtop ... =4&t=10807
This has been fixed for last TeeChart for .NET 2009 maintenance release:
http://www.teechart.net/support/viewtop ... =4&t=10807
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |