Click here to Skip to main content
15,918,596 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I work on an winform app. this app contains a form with 3 charts, each of them contains two series (2 graphs). first one is identical for all of them and is a reference graph, while the other graph is different for each chart. each of these charts is enabled\disabled based on a CheckBox.

I had problems with one of the charts as it only showed the graph with no StripLines.

basically the methode that updates the similar data accepted a list of object and based on the CheckBoxes state updated the relevant charts, then if the object state (based on a Boolean variable) indicated it's a StripLine it creates one and again for every enabled chart it adds it.

After a long search the only thing that I could find that bothered me was that the points were added at a different order then the StripLines(1,2,3=>2,1,3). Fixing this solved the problem, but I'm not sure how. can any one explain it?

other then that if any one has tips on how to work with charts in order to make them respond faster I'll be happy to hear(and please don't suggest using a solution that will cost me as it's not an option)
Posted
Comments
Sergey Alexandrovich Kryukov 14-Jul-13 1:13am    
If you are talking about different charts, it does not make any difference if they are on the same form or not. Not clear how all this can be a problem.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900