Page 1 of 1

Line series

Posted: Tue Nov 04, 2008 6:10 pm
by 14045174
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.

Posted: Wed Nov 05, 2008 10:13 am
by narcis
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.