elektra Posted September 14, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Frank Posted September 21, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
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.