| ||
SharpPlot Tutorials General Tutorials Chart Samples Style Examples SharpLeaf Tutorials Document Layout Tutorials Text Flow Tutorials Table Tutorials Visual Glossaries SharpPlot Class SharpPlot Properties SharpPlot Methods SharpPlot Enumerations PageMap Class SharpLeaf Reference SharpLeaf Class SharpLeaf Properties SharpLeaf Methods Table Class Table Properties Table Methods SharpLeaf Structures FontType Structure ParagraphStyle Structure BoxStyle Structure SharpLeaf Enumerations DocumentLayout Classes DocumentLayout Class PageLayout Class PageElement Abstract Class Frame : PageElement Class TextBlock : PageElement Class ImageBlock : PageElement Class Box : PageElement Class Rule : PageElement Class Common Reference Document Class VectorMath Class DbUtil Class Download Release Notes Licensing |
SharpPlot Reference > SharpPlot Structures > Zone Struct Zone StructStructure to define a shaded region which appears as part of the chart background. Zones may be used on any conventional 2-dimensional chart (see the Gantt tutorials) or on Dial charts to mark out significant areas on the scale. Each Zone has a start and stop value, a color and an optional fillstyle. For xy-plots (scatterplots or bubblecharts) you may define a matching array of x-zones and y-zones to mark out arbitrary rectangular areas on the chart by using ZoneStyles.Intersect. These are shaded at the intersection of the zone pairs rather than spanning the axis range. public struct Zone Public ConstructorsCreates a solid-filled shaded region. public Zone( double startValue, double stopValue, Color regionColor ); Creates a shaded region with given fill-style. public Zone( double startValue, double stopValue, Color regionColor, FillStyle regionPattern ); Creates a shaded region with given fill-style and zone-style public Zone( double startValue, double stopValue, Color regionColor, FillStyle regionPattern, ZoneStyles regionStyle ); Creates a solid region with given zone-style public Zone( double startValue, double stopValue, Color regionColor, ZoneStyles regionStyle ); Examplesp.SetXZones(new Zone(40,60,Color.Green,FillStyle.Opacity30)); RequirementsNamespace: Causeway Assembly: SharpPlot (in sharpplot.dll) See also ...SharpPlot Members | SharpPlot.SetIZones Method | SharpPlot.SetXZones Method | SharpPlot.SetYZones Method | ZoneStyles Enumeration |