Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Placing lines on TChart

615 views
Skip to first unread message

Tore Fossum

unread,
Apr 3, 2001, 4:07:03 PM4/3/01
to
How can one put a line horizontal and a line
vertical on a Teechart line plot? these lines
are markers for an inflection point in an
s curve.

The tee chart could be a data aware or
non data aware.

Many thanks for any hints.
Tore Fossum
tfo...@titrate.cc


Rolf Fankhauser

unread,
Apr 5, 2001, 9:29:52 AM4/5/01
to Tore Fossum
Hi Tore,

here is an example to draw a vertical line at xvalue from minimum to
maximum left axis values:

with Chart2 do
begin
Canvas.MoveTo (BottomAxis.CalcXPosValue(xvalue),
LeftAxis.CalcYPosValue(LeftAxis.Minimum));
Canvas.LineTo (BottomAxis.CalcXPosValue(xvalue),
LeftAxis.CalcYPosValue(LeftAxis.Maximum));
end;

Regards,

Rolf Fankhauser

Tore Fossum wrote:

--
----------------------------------------------------------------
Rolf Fankhauser, PhD
ETHZ - Federal Institute of Technology Zurich
Institute of Hydromechanics and Water Resources Management
Urban Water Management Division
HIL G 31.3
CH-8093 Zuerich-Hoenggerberg
Switzerland
Tel. +41-1-633 25 07
Fax. +41-1-633 10 61


Steve Parus

unread,
Apr 5, 2001, 10:17:02 AM4/5/01
to
The latest Ver 5 has a ColorLine Tool which can be optionally dragged
by a mouse.

On Tue, 3 Apr 2001 15:07:03 -0500, "Tore Fossum" <tfo...@titrate.cc>
wrote:

>How can one put a line horizontal and a line
>vertical on a Teechart line plot? these lines

remove "_nospam" to respond by email

0 new messages