| ||
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 > SetTrellis Method SharpPlot.SetTrellis MethodCreates a trellised layout given (cells down, cells across) or the total cell count. Examplesp.SetTrellis(19); // Auto layoutsp.SetTrellis(3,4); // Grid OverloadsThis method carves up the available paper size into a rectangular collection of frames. The first chart to be drawn will use the first cell in the trellis, and calls to NewCell will move to the next available cell, working across the rows or snaking down the columns depending on the TrellisStyle setting. If the requested total cell count does not fit nicely into the page shape, there will be vacant cells in the lower right corner. See also ...SharpPlot Members | TrellisStyle Property | DrawMultiple Method | NewCell Method |