elektra Posted September 14, 2010 Report Posted September 14, 2010 I want to hide many points of the line graph; I saved the indexes of the points to hide in a list ( 286 Points): foreach (int tempPointIndex in hiddenPoints) { mainChart.Data[seriesId, tempPointIndex] = Chart.Hidden;} The result: the line is broken at the first hidden point. how can I display a line with many hidden points (more than 280) with different indexes in the chart? Quote
Frank Posted September 21, 2010 Report Posted September 21, 2010 You can have hidden points at any location in the chart. For example: chart.Data.Points = 30; chart.Data[0,3] = Chart.Hidden; chart.Data[0,8] = Chart.Hidden; chart.Data[0,18] = Chart.Hidden; // All other points set to valid data Will produce 3 breaks in the line. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.