TSignalColorBandTool Class

Header: Dew.Signal.Controls.VCL/SignalToolsTee.h · C++Builder only
TTeeCustomToolTSignalColorBandTool

class TSignalColorBandTool : public TTeeCustomTool;

TeeTool component for drawing a region selection rectangle.

Use this tool to allow the user to select a region on the chart, by dragging border lines of the displayed rectangle. The border lines can be dragged symmetrically, the whole rectangle can be moved or only individual lines can be adjusted. The extended feature set is obtained when the border line dragging is performed by holding down the CTRL key.

Constructors

NameDescription
TSignalColorBandTool

Destructors

NameDescription
~TSignalColorBandTool

Properties

NameTypeDescription
BottomLineTColorLineTool*The properties for the bottom line of the selection rectangle.
BottomLinePenTChartPen*The properties for the bottom line pen of the selection rectangle.
BottomResizeboolSet it to true, if the bottom edge line can dragged.
BottomValuedoubleThe Y axis value for the bottom line of the selection rectangle.
ColorTColorColor of the selection rectangle.
CursorTCursorCursor to be showed when hovering with the mouse over selection rectangle.
DrawBehindboolThe selection rectangle can be drawn before or after the series.
DrawBehindAxesboolThe selection rectangle can be drawn before or after the axes.
GradientTChartGradient*The selection rectangle can have a gradient.
LeftLineTColorLineTool*The properties for the left line of the selection rectangle.
LeftLinePenTChartPen*The properties for the left line pen of the selection rectangle.
LeftResizeboolSet it to true, if the left edge line can dragged.
LeftValuedoubleThe X axis value for the left line of the selection rectangle.
OnClickTMouseEventTriggered when the selection rectangle is clicked.
OnDragBoxTNotifyEventTriggered when the selection rectangle as a whole is being dragged. (CTRL key is down)
OnDragLineTOnDragLineTriggered when the edge of selection rectangle is being dragged. (CTRL key can be down or not. )
OnEndDragLineTOnDragLineTriggered when the dragging of the edge of selection rectangle has ended.
RightLineTColorLineTool*The properties for the right line of the selection rectangle.
RightLinePenTChartPen*The properties for the right line pen of the selection rectangle.
RightResizeboolSet it to true, if the right edge line can dragged.
RightValuedoubleThe X axis value for the right line of the selection rectangle.
TopLineTColorLineTool*The properties for the top line of the selection rectangle.
TopLinePenTChartPen*The properties for the top line pen of the selection rectangle.
TopResizeboolSet it to true, if the top edge line can dragged.
TopValuedoubleThe Y axis value for the top line of the selection rectangle.
TransparencySystem::ByteThe selection rectangle can have transparency defined between 0 and 100.

Methods

NameDescription
BoundsRectReturns the bounds of the selected rectangle.
ChartEvent
ChartMouseEvent
ClickedReturns true, if the user clicked within the rectangle.
CtrlDown
Description
DragLine
EndDragLine
GetBottomLine
GetBottomValue
GetColor
GetCursor
GetDrawBehind
GetDrawBehindAxes
GetEditorClass
GetGradient
GetLeftLine
GetLeftValue
GetOnClick
GetOnDragBox
GetOnDragLine
GetOnEndDragLine
GetRightLine
GetRightValue
GetTopLine
GetTopValue
GetTransparency
Loaded
NewColorLine
PaintBand
SetCursor
SetLines
SetOnClick
SetParentChart
UpdateValues
ZPosition

Fields

NameTypeDescription
DraggingXint
DraggingYint
HorizontalCenterdouble
IsDraggingbool
LastShiftStateTShiftState
OldBottomValuedouble
OldLeftValuedouble
OldRightValuedouble
OldTopValuedouble
VerticalCenterdouble