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
Some portion of the line in Top area of chart disappears
Some portion of the line in Top area of chart disappears
- Attachments
-
- TeechartSample.zip
- Sample project
- (10.54 KiB) Downloaded 244 times
Re: Some portion of the line in Top area of chart disappears
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:
I hope will helps.
Thanks,
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;
}
Thanks,
Best Regards,
Sandra Pazos / 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: Some portion of the line in Top area of chart disappears
Thanks. This helps.
Regards,
Priya
Regards,
Priya