Page 1 of 1

Some portion of the line in Top area of chart disappears

Posted: Thu Oct 07, 2010 3:36 pm
by 15654875
Some portion of the line in Top area of chart disappears.
I have line series. Some portion of the line series in the Top area of the chart disappears. Have attached sample to reproduce same. The last 3 points are not drawn. Following are the values added to datasoure for the YMember of the series.

curves[0].Index2 = 11.438;
curves[1].Index2 = 26.072;
curves[2].Index2 = 55.339;
curves[3].Index2 = 58.670;
curves[4].Index2 = 62.000;
curves[5].Index2 = 68.000;
curves[6].Index2 = 74.000;
curves[7].Index2 = 76.000;
curves[8].Index2 = 78.000;
curves[9].Index2 = 79.333;
curves[10].Index2 = 80.667;
curves[11].Index2 = 82.000;
curves[12].Index2 = 82.000;
curves[13].Index2 = 82.000;
curves[14].Index2 = 82.000;

Regards,
Priya

Re: Some portion of the line in Top area of chart disappears

Posted: Fri Oct 08, 2010 11:34 am
by 10050769
Hello priya,

I have added SetMinMax() method in your code and seems works fine for me using last version 4. Please add next changes in your code and try again if your problem is solved:

Code: Select all

 private void AddSeries()
        {
            Steema.TeeChart.WPF.Styles.Line line = new Steema.TeeChart.WPF.Styles.Line();
            line.DataSource = curves;
            line.XValues.DataMember = "Index";
            line.YValues.DataMember = "Index2";
            tchart.Series.Add(line);
            tchart.Axes.Left.SetMinMax(line.YValues.Minimum, line.YValues.Maximum+3);
            tchart.Axes.Left.Increment = 5;
           
        }
I hope will helps.

Thanks,

Re: Some portion of the line in Top area of chart disappears

Posted: Mon Oct 11, 2010 11:27 am
by 15654875
Thanks. This helps.

Regards,
Priya