Download QCChart2D for WPF User Manual - Quinn

Transcript
Simple Plot Objects 270
attrib1.SetFillFlag(True)
Dim basearrow As New Arrow()
Dim thePlot1 As New ArrowPlot(pTransform1, Dataset1, basearrow, attrib1)
chartVu.AddChartObject(thePlot1)
*
Note the use of the GroupDataset method SetAutoScaleNumberGroups. This forces the autoscale routine to look at only the first group of y-values, since those are the only y-values that
specify the absolute position of the arrows. The other groups of y-values specify size and rotation
information and should not be considered in the auto-scale calculation.
Box and Whisker Plots
Class BoxWhiskerPlot
GraphObj
|
+--ChartPlot
|
+--GroupPlot
|
+-- BoxWhiskerPlot
The BoxWhiskerPlot class extends the GroupPlot class and displays statistical data in a box
and whisker format. The BoxWhiskerPlot class graphically represents groups of numerical data
through their five-number summaries (the smallest observation, lower quartile (Q1), median
(Q2), upper quartile (Q3), and largest observation). A BoxWhiskerPlot is unique among our
chart types because the data is not represented by a 1D or 2D matrix. Instead, it consists of
multiple populations, where each population can have a different number of data points. Each
population is summarized by 5 statistics (the smallest observation, lower quartile (Q1), median
(Q2), upper quartile (Q3), and largest observation), display graphically in a chart. Read the
Wikipedia entry for more information concerning box and whisker plots:
http://en.wikipedia.org/wiki/Box_plot
BoxWhiskerPlot constructor
Visual Basic (Declaration)
Public Sub New ( _
transform As PhysicalCoordinates, _
rwidth As Double, _
attrib As ChartAttribute _
)
C#
public BoxWhiskerPlot(
PhysicalCoordinates transform,
double rwidth,
ChartAttribute attrib
)
transform
The coordinate system for the new BoxWhiskerPlot object.