Line series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Line series

Post by UserLS » Tue Nov 04, 2008 6:10 pm

I am trying to work with line series and found a few problems:
  • When I use pointers and ColorEach is true - the pointers are still using the series's color.
  • If I set a pattern to be used for the series, it does not show up anyway.
  • If I make border visible and its width more then 2 - the look of the line is very funny (which could be a side effect of the fact, that I am reading outline property on load).
  • If I touch outline property (make it visible and then turn it off later) border stops working and by playing with this property more, I was able to make the whole line series disappear from the chart - even though it was still shown in the legend and had values.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Nov 05, 2008 10:13 am

Hi Profitstar,
# When I use pointers and ColorEach is true - the pointers are still using the series's color.
This works fine for me here using latest TeeChart for .NET v3 release, which was published last Monday, and this code:

Code: Select all

		public Form1()
		{
			InitializeComponent();
			InitializeChart();
		}

		private void InitializeChart()
		{
			Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);

			line1.FillSampleValues();
			line1.ColorEach = true;
			line1.Pointer.Visible = true;
		}
Could you please check if this works fine for you?
# If I set a pattern to be used for the series, it does not show up anyway.
Adding line below to code snippet above works fine for me here.

Code: Select all

			line1.Brush.Style = System.Drawing.Drawing2D.HatchStyle.Cross;
At designtime it also works fine for me.
# If I make border visible and its width more then 2 - the look of the line is very funny (which could be a side effect of the fact, that I am reading outline property on load).
I could reproduce this here making pointer not visible in the code snippet above and setting this:

Code: Select all

			line1.LinePen.Width = 2;
I've added the issue (TF02013532) to the defect list to be fixed for next releases.
# If I touch outline property (make it visible and then turn it off later) border stops working and by playing with this property more, I was able to make the whole line series disappear from the chart - even though it was still shown in the legend and had values.
I could also reproduce this using Line's editor and added the issue (TF02013533) to the list to be fixed.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply