📄 sgraph.htm
字号:
<html>
<head>
<title>SGraph Description</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta NAME="AUTHOR" CONTENT="S.P.Pod'yachev">
</head>
<body BGCOLOR="#FFFFFF" background="white.gif">
<h2 align="left"><img height="1" width="1" src="http://counter.list.ru/counter?id=15599" alt> <!--LIST100 COUNTER--> SGraph ver 2.4</h2>
<p><a HREF="#Introduction">Introduction</a> <br>
<a HREF="#License">License</a> <br>
<a HREF="#Disclaimer">Disclaimer</a> <br>
<a HREF="#Files">Files</a> <br>
<a HREF="#Install components">Install components</a> <br>
<a HREF="#Start">How to start</a> <br>
<a HREF="#Contact me">Contact me</a> </p>
<p><a HREF="history.htm">History</a> <a href="notes.htm">Notes</a></p>
<h3><a NAME="Introduction"></a><b>Introduction</b></h3>
<p>This is a set of 32 bit Delphi components and classes for 2D plot. It is relatively
simple. It is more gauge then presentation element. The main features are:
<ul>
<li>Two horizontal and two vertical axis.</li>
<li>Auto minimum and maximum of the axis.</li>
<li>Swap of Min and Max axis positions. </li>
<li>MoveMinMax method to provide smooth scrolling of axis ticks.</li>
<li>Panning and Zoom by mouse.</li>
<li>Buffered screen paint, can be off.</li>
<li>Copy to clipboard as DIB or as Metafile.</li>
<li>Custom Data Series.</li>
<li>DrawPlot method to replicate plot image </li>
<li>OnDrawField OnDrawEnd events</li>
</ul>
<p>The main component is <B>Tsp_XYPlot</B> derived from the TCustomControl. It has embedded four axis of class <A HREF="notes.htm#Axis limits"><B>Tsp_Axis</B></A> which constitute field for the data presentation. Data are presented on plot by object of class which must be derived from <B>Tsp_DataSeries</B>=class(TComponent).<BR>
<img src="plot_img.gif" alt="plot_img.gif (3965 bytes)" WIDTH="211" HEIGHT="210"><br>
Tsp_XYPlot and Tsp_Axis provide base plot functionality like auto scale, zoom and pan and
so on. The Data Series interact with a Tsp_XYPlot and implements data drawing and provide internal data storage or connection with external data. An example of these components is <B>Tsp_XYLine</B> which keep data as XY pairs in the dynamic array and paints lines between data points and/or points markers. There are also <B>Tsp_SpectrLines</B> and <A HREF="edseries.htm"><B>Tsp_ndsXYLine</B></A> in the SGraph. How to write your own series see in <a href="notes.htm#Data series">notes</a>.<BR>
Plot also can has and controls components inherited from Tsp_PlotMarker.
<A HREF="notes.htm#Plot markers">Plot marker</A> draws something on the plot using axis coordinate system. An example of these components are <B>Tsp_LineMarker</B> and <B>Tsp_ImageMarker.</B></p>
<h3><a NAME="License"></a>License </h3>
<p>The component files are <b>freeware</b>. You may copy those files as long as you <b>COPY
ALL OF THEM</b>. You cannot distribute source of main units in modified form, except unit
for your data series. <br>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -