| |||||
Introducing SharpPlot Your First Chart Recent Updates Tutorials General Tutorials Chart Tutorials Reference SharpPlot Class Properties Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Home > Sample Charts > Multiples MultiplesOne of the best innovations in Tufte’s “The Visual Display of Quantitative Information” is the idea of using an array of miniature charts to display multi-dimensional data. Often a series of values are recorded at (say) several sites or on several days, then are superimposed on a single chart as a collection of dotted and dashed lines in various colors. This often makes it very hard to see the patterns and relationships in the data. The ‘Multiple’ plots each series on its own chart, and arranges them automatically in a trellis to allow easy comparison between them. The charts may be scaled independently (as in the first example) or ranged in advance so that the magnitude of the data can be easily compared across all the charts. SharpPlot sp = new SharpPlot; sp.SetPageLabels(new string[]{"North","South","East","West"}); sp.SetCaptionFont("TI",18,Color.Navy); sp.TrellisStyle = TrellisStyles.SnakingCells; series = new int[][]{new int[]{3,2,4},new int[]{5,4,3},new int[]{1,3,2},new int[]{3,2,4}}; sp.DrawMultiple(ChartType.BarChart,series); Worked Examples |