The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FindMinMax


Unit: SDL_rchart
Class: TSmithChart
Declaration: procedure FindMinMax (RangeLoX, RangeLoY, RangeHiX, RangeHiY: double; var MinX, MinY, MaxX, MaxY: double);

The method FindMinMax finds the minimum and the maximum coordinates of all graphic elements within the range defined by the parameters RangeLoX... RangeHiY.

The minimum and maximum x and y values are returned in the variable parameters MinX, MinY, MaxX, and MaxY. The method FindMinMax enables the user to set the visible range of the chart in a way that all elements are visible within a given area.



Last Update: 2023-Dec-13