public LabelLayout() { _ForeColor = Color.Black; _Placement = DisplayPlacement.Near; _AutoSize = true; _AutoOrientLabel = true; _RotateLabel = true; }
public TickMarkLayout(GaugeMarkerStyle style, float width, float length) { _Style = style; _Width = width; _Length = length; _DefaultStyle = style; _DefaultWidth = width; _DefaultLength = length; _Placement = DisplayPlacement.Center; FillColor = new GradientFillColor(Color.DarkGray, Color.White); FillColor.BorderColor = Color.DimGray; FillColor.BorderWidth = 1; _Overlap = GaugeTickMarkOverlap.ReplaceAll; }
private void InitIndicator() { _NumberOfDigits = 6; _NumberOfDecimals = 2; _DecimalColor = Color.Firebrick; _DigitColor = Color.SteelBlue; _DigitPlacement = DisplayPlacement.Far; _Padding = new Padding(0); _SegmentWidth = .5f; _SeparatorWidth = .01f; _ShearFactor = -0.1f; _ShowDimColonPoints = true; _ShowDimDecimalPoint = true; _ShowDimSegments = true; _SignVisibility = SignVisibility.WhenNegative; _Style = NumericIndicatorStyle.Mechanical; AllocateElements(); }