| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > SetColors Method SharpPlot.SetColors MethodSet an array of colors for use by upcoming data series. The array is reused cyclically by all the series which follow. Examplesp.SetColors(new Color[]{Color.Navy,Color.Maroon}); Overloads
A single color will ensure all series are colored identically until this is set again. Note that ‘extra’ lines such as fitted curves use the color cycle also – this allows you to set chosen colors for all the significant elements in the chart. See also ... |