void CBCGPChartVisualObject::SetFixedDisplayRange | ( | CBCGPChartData & | dataStart, |
CBCGPChartData & | dataEnd, | ||
BOOL | bAxesFromData = FALSE , |
||
BOOL | bRedraw = TRUE , |
||
BOOL | bByZoom = FALSE |
||
) |
Sets fixed display range.
dataStart | The data start. |
dataEnd | The data end. |
bAxesFromData | TRUE to axes from data. |
bRedraw | Tells the chart to invalidate and redraw. |
bByZoom | Should be FALSE unless you implement custom zoom and need to set automatic display range for zoomed axes. |
Use this method when you wish manually specify the displayed range on an axis. It overrides automatic calculation of minimum and maximum displayed values and forces an axis to display values in the specified range. This method is not compatible with zoom and scroll modes, because zoom and scroll set their own display range.
You can call SetAutoDisplayRange() to return back to automatic mode.