|
The Scientific Graph Control is very similar to the Graph but displays information
which is measured against both the horizontal and vertical axes. This
component is mostly used for technical type information. For example, it
can display the voltage versus current relationship for an electronic
widget. The developer uses this component when data-sets contain both Y and
X axis components and each data-point is assigned its own independent
X and Y value. This allows for unequally spaced graphics as well as for
graphics that can form any complex shape. See YData
and XData. See
example 100 in demo for information on creating a simple Scientific Graph Control .
Like the Graph control, the Scientific Graph control has horizontal and
vertical scrolling capabilities. A difference between the Graph and Scientific
Graph is that the Graph horizontally pans (n) amount of data-points whereas
the Scientific Graph horizontally pans (n) percentage of the graph's x
axis range. See ScrollingHorzZoom.
The Scientific Graph can also handle serially formatted date/time values.
Given serially formatted date/time data, the Scientific Graph will replace
the normal numeric x axis scale with a linear date/time calendar scale.
The structure of this scale will be dependent on the range of time displayed.
This allows the user to zoom into a graph and always have a grid that
best suits the time-range shown. ProEssentials date/time handling can
manage centuries to seconds. The Scientific Graphs date/time handling
is for continuous type scales which will show Saturdays, Sundays, and
all hours of the day. For discontinuous time scales you will want to use
the Graph controls date/time feature. See DateTimeMode.
Within
the demo, see examples 106 and 016.
Since the date/time format uses the fractional portion to represent
the time (percentage of day), double-precision data is required for time
accuracy. ProEssentials can handle data-storage either as double-precision
(8 bytes) or single-precision (4 bytes). XDataII
stores double-precision x-data and XData
stores single-precision x-data. Likewise, YDataII
stores double-precision y-data and YData
stores single-precision y-data. You will use UsingXDataII
and UsingYDataII to tell ProEssentials
if single or double precision is being used. Double precision Y-data is
also available for the Graph control.
The Scientific Graph is capable of producing 2D contours rendered with
colors or lines. Within
the demo, see examples 120, 121 and 122.
The Scientific Graph Customization Dialog allows the user to customize
the Scientific Graph component and is very similar to the Graph components
customization dialog. The only difference is that the Points tab is not
supported for the Scientific Graph.
Include Data Labels
This checkbox controls whether data labels are placed next to data points.
The labels have the number of decimal positions specified by the Numeric
Precision radio group. See AllowDataLabels
and GraphDataLabels.
Plot Style
The Scientific Graph component offers the following plotting methods: Line,
Bar, Point/Scatter, Area, Points plus Best-Fit-Line, Points plus Best-Fit-Curve,
Points plus Line, Points plus Spline, Spline, High-Low Line, High-Low
Bar, High-Low-Close, Open-High-Low-Close, Box Plot/Candlestick, Bubble,
Step, and Ribbon styles. See PlottingMethod.
3D
The 3D setting enables a 3D Drop Shadow or 3D effect. Only Bars and
Areas will show the 3D effect. Bars, Areas, Points, Lines, CandleSticks
and Box Plots will show a Drop Shadow.
|