| ||
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 > AddTableShading Method SharpPlot.AddTableShading MethodAdd background color and optional shading to a table cell. Examplesp.AddTableShading(4,1,Color.Aqua); sp.AddTableShading(5,1,Color.Aqua); sp.AddTableShading(6,1,Color.Firebrick,FillStyle.Opacity30); sp.AddTableShading(2,2,Color.Firebrick,FillStyle.GradientBottomLeft); Overloads
Table cells may be individually shaded, possibly to flag exceptions, for example negative values. Some tables (such as sports results) are conventionally drawn with the diagonal shaded grey, as a team can never play a match against itself. This method may be called as many times as required to apply solid color or a colour and selected fill pattern cell by cell. See also ...SharpPlot Members | DrawTable Method | FillStyle Struct |