SRGraphDisplay::PrepareBubble

void SRGraphDisplay::PrepareBubble(void)

Prepares both X and Y axis scales before bubble charts are drawn
Bubble charts require 3 data groups per series - x-coordinate, y-coordinate, bubble size.
The data object style may be CX_OBJECT_BUBBLE (default) or CX_OBJECT_BAR (square). For graph type CX_GRAPH_BUBBLE_R (default), the bubble size variable determines the radius (or half-width) of the bubble. For graph type CX_GRAPH_BUBBLE_A, the bubble size is proportional to the area of the bubble. By default, the bubble size is assumed to have the same scaling (units) as the x and y coordinates.
Alternate scaling can be selected by setting SetUseMaxScale(TRUE) and specifying SetMaxObjectWidth(). GetMaxObjectWidth() determines the size of the largest bubble in screen pixels -- the size is adjusted for printing.
If GetObjectInsideView() == TRUE, the autoscaled axis limits will enclose all bubbles. However, if GetUseMaxScale() == TRUE, the bubble sizes can not be dependably taken into account. Therefore, some bubbles may be clipped.
Logarithmic axes are not supported -- an exception is thrown.
The x and y axes can use fixed or automatic scaling independently.

Defined in: SRGraphDisplay.cpp

Return Value

void

See also...

PrepareDisplay