?
Solved

MS Chart Control line interpolation failure?

Posted on 2013-01-09
4
Medium Priority
?
533 Views
Last Modified: 2013-01-09
Hi Experts!

I have an ASP 4.0 app with some chart controls showing data from a SQL server.
There are all XY graphs with charttype = line (or fastline). For some, to me, unknown reason the lines fail to connect some of the data points and overlap (see attached picture).

I suspect that there is something wrong with the internal interpolation routine in the Chart Control object, maybe I'm wrong?
Does anyone here know of a solution to get rid of this I would be more than happy?

BR,
Peer
line-fail.JPG
0
Comment
Question by:peer754
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 2000 total points
ID: 38759560
Are the datapoints sorted correctly ?  (This looks like the jumps could be between datapoints in the order they are in the dataset)
0
 

Author Comment

by:peer754
ID: 38759588
Hi,
All datapoints are inserted into the DB in real-time, i.e. they should be sorted w.r.t. time.
I will make sure however if that's the case.
Thanks!
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 38759623
Just because they are sorted in the table doesn't mean they will be sorted in the dataset (they could be but...)
0
 

Author Closing Comment

by:peer754
ID: 38759665
You were right, the data was not sorted (WHY?). The data is added at real-time in a time interval to a table with id so I assumed (wrongly) that the data should be sorted as it it's been added.

Thanks!
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question