SharpPlot Reference > SharpPlot Methods > AddTableShading Method SharpPlot.AddTableShading Method
Add background color and optional shading to a table cell.
Example
sp.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 | SharpPlot.DrawTable Method | FillStyle Struct
Send comments on this topic © Dyalog Ltd 2021
|