ron.kagan Posted July 1, 2010 Report Share Posted July 1, 2010 Hello. I'm trying to change some point appearance like marker shape / size etc... as far as i understand, i can access the chart.Data to get the all the point attributes using the series and point index. when i change any of the point attribute like stroke or fill, the point will not appear on the chart. Quote Link to comment Share on other sites More sharing options...
JuanC Posted July 1, 2010 Report Share Posted July 1, 2010 Chart.Data exposes some of the data attributes but to change visual attributes you would probably use AllSeries or Series JuanC Quote Link to comment Share on other sites More sharing options...
ron.kagan Posted July 1, 2010 Author Report Share Posted July 1, 2010 That doesn't give me the ability to change some of the points - i.e change all points marker above a certain spec value or change marker of every 5th point ... is this even possible ? Quote Link to comment Share on other sites More sharing options...
JuanC Posted July 1, 2010 Report Share Posted July 1, 2010 To change some of the points you have the following options 1) You can use the Chart.Points[series, point] API which gives you a class similar to a chart Series where you can change fill color, marker attributes, point labels, etc. 2) Use the ConditionalAttributes API, we expose an API where you can specify a condition and what attributes to change and we take care of the rest. You can also show the condition in the legend window to use highlight You could also expose some properties directly from your CLR objects and change the templates to use some of those properties but it is more complicated. JuanC 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.