XY Chart NET 3 Control Reference > Methods > SetDataSampleColor Method |
Use this method to customize the color of an individual data point. Applies to markers, bars and candles. Call any of the ClearChart methods to clear any customizations.
[Visual Basic] Sub SetDataSampleColor(profileIndex As Integer, dataSampleIndex As Integer, borderColor As System.Drawing.Color, fillColor As System.Drawing.Color) |
[C#] void XYChartNETCtl.SetDataSampleColor(int profileIndex, int dataSampleIndex, Color borderColor, Color fillColor) |
[C++] void SetDataSampleColor(int profileIndex, int dataSampleIndex, System::Drawing::Color borderColor, System::Drawing::Color fillColor) |