janningjuul Posted September 18, 2007 Report Share Posted September 18, 2007 How do I get the last Y-value in a series? /Henrik Link to comment Share on other sites More sharing options...
Frank Posted September 18, 2007 Report Share Posted September 18, 2007 If by "last Y-Value" you mean the biggest Y-Value,we don't keep that information. You will need to go though the series and find it. If you are talking about the value for the last point: double value = chart.Data.Y[seriessIndex,chart.Data.Points-1]; Link to comment Share on other sites More sharing options...
janningjuul Posted September 19, 2007 Author Report Share Posted September 19, 2007 I'm searching the value for the last point in a specifik series.- There are several series (each in one pane) in the same chart. /Henrik Link to comment Share on other sites More sharing options...
Frank Posted September 19, 2007 Report Share Posted September 19, 2007 The code I posted will get you the last value. Link to comment Share on other sites More sharing options...
janningjuul Posted October 4, 2007 Author Report Share Posted October 4, 2007 Ok!Then how do I paint those points another color?/Henrik Link to comment Share on other sites More sharing options...
Frank Posted October 24, 2007 Report Share Posted October 24, 2007 You can set the color for a particular point by doing: chart.Points.Color = <color>; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.