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 where datasets contain both Y and
X axis components and each datapoint 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 datapoints whereas
the Scientific Graph horizontally pans (n) percentage of the graph's x
axis range. See ScrollingHorzZoom.
Similar to the Graph, 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 timerange 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), doubleprecision data is required for time
accuracy. ProEssentials can handle datastorage either as doubleprecision
(8 bytes) or singleprecision (4 bytes). XDataII
stores doubleprecision xdata and XData
stores singleprecision xdata. Likewise, YDataII
stores doubleprecision ydata and YData
stores singleprecision ydata. You will use UsingXDataII
and UsingYDataII to tell ProEssentials
if single or double precision is being used. Double precision Ydata is
also available for the Graph control.
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 BestFitLine, Points plus BestFitCurve,
Points plus Line, Points plus Spline, Spline, HighLow Line, HighLow
Bar, HighLowClose, OpenHighLowClose, 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.
