Hi,
I must be doing something stupid but I've spent the last 2-3 hours trying to get this to work to no avail and now I'm desperate
All I want to do is add a custom text label to a certain point in my chart that has a single series. Per the code and comment below, some of the point specific methods/properties seem to to work, others do not. Is there any reason for this? Why would the Marker shape/size work so obviously/easily, but the color of the Marker not work at all?
Thanks for any help you can provide
David
//my code snippet, try to label a point!!chart1.Points[0, 100].Color = System.Drawing.Color.Blue; //DOES NOT WORK no matter what color I choose chart1.Points[0, 1000].PointLabels.TextColor = System.Drawing.
Color.Blue; //DOES WORK chart1.Points[0, 1000].PointLabels.Font = new Font("Arial", 10); //DOES WORK chart1.Points[0, 1000].PointLabels.Visible =
true; //DOES WORK, shows the value of the data at that pointchart1.Points[0, 1000].MarkerShape = ChartFX.WinForms.MarkerShape.InvertedTriangle; //DOES WORK chart1.Points[0, 1000].MarkerSize = 10; //DOES WORK chart1.Points[0, 1000].Text = "XXX"; //DOES NOT WORK, (no matter where I place this stmt in the code) argh!!!!! > chart1.Refresh();