Hi
I have a graph, containing a single FastLine series. All the points should be connected, but in the graph, it appears to have blank segments.
I exporting the values in the series using:
using (TextWriter writer = new StreamWriter(fileStream, Encoding.UTF8))
{
foreach (Series series in graphChannels.Series)
{
writer.WriteLine(series.Title);
int count = Math.Min(series.XValues.Count, series.YValues.Count);
for (int i = 0; i < count; i++)
writer.WriteLine("{0}\t{1}", series.XValues, series.YValues);
}
}
And imported it into Excel, to see if there really is any null values in the series - but I have not found any.
The series data, with X/Y-plot can be found here: http://www.bendtsen.net/export.xls
Any advise on how to resolve this?
Broken graph lines
-
- Newbie
- Posts: 18
- Joined: Fri Nov 02, 2007 12:00 am
- Contact:
-
- Newbie
- Posts: 18
- Joined: Fri Nov 02, 2007 12:00 am
- Contact:
Re: Broken graph lines
The TeeChart version is 3.5.3425.20243 using Framework 3.0 on a Windows XP machine.
Re: Broken graph lines
Hi Soren,
I've saved your xls as csv and imported it to a chart and I couldn't see any gap. Here is the code I used:
Could you please attach here a simple example project we can run as-is here to reproduce the problem here?
Thanks in advance.
I've saved your xls as csv and imported it to a chart and I couldn't see any gap. Here is the code I used:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
FastLine fast1;
private void InitializeChart()
{
chartController1.Chart = tChart1;
tChart1.Dock = DockStyle.Fill;
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
fast1 = new FastLine(tChart1.Chart);
TextSource textsource1 = new TextSource("H:\\yeray\\examples\\Soren\\test.csv");
textsource1.DecimalSeparator = ',';
textsource1.Separator = ';';
fast1.DataSource = textsource1;
textsource1.Fields.Add(0, "X");
textsource1.Fields.Add(1, "Y");
fast1.CheckDataSource();
}
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |