User (Legacy) Posted April 12, 2004 Report Share Posted April 12, 2004 hi all, Can anybody please help me how to change the color of the marker point without changing the color of the line between the two marker points thanks Link to comment Share on other sites More sharing options...
Software FX Posted April 12, 2004 Report Share Posted April 12, 2004 The flag ChartType.ColorLine (TypeMask property) instructs the chart to use the series color to draw the line between markers instead of using the BorderColor, turning this flag OFF will allow you to control the color of the marker independently from the color of the line. Example: chart1.TypeMask &= ~ChartType.ColorLine; for (int i = 0; i < chart1.NSeries; i++) chart1.Series[i].BorderColor = chart1.Series[i].Color; // Copy series color to BorderColor. You can assign BorderColor to anything you want. chart1.BorderEffect = BorderEffect.None; // Turn OFF Border efect. Use actual color instead. chart1.Point[1,1].Color = Color.Red; // Change color of specific point marker. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.