| int CBCGPGaugeImpl::AddColoredRange | ( | double | dblStartValue, |
| double | dblFinishValue, | ||
| const CBCGPBrush & | brFill, | ||
| const CBCGPBrush & | brFrame, | ||
| int | nScale = 0, |
||
| double | dblStartWidth = 0., |
||
| double | dblFinishWidth = 0., |
||
| double | dblOffsetFromFrame = 0., |
||
| const CBCGPBrush & | brTextLabel = CBCGPBrush(), |
||
| const CBCGPBrush & | brTickMarkOutline = CBCGPBrush(), |
||
| const CBCGPBrush & | brTickMarkFill = CBCGPBrush(), |
||
| BOOL | bRedraw = FALSE |
||
| ) |
Adds a new colored range to a gauge.
Call this method to add a new colored range to a gauge.
| dblStartValue | Colored range start value |
| dblFinishValue | Colored range finish value |
| brFill | Colored range background brush. |
| brFrame | Colored range foreground brush. |
| nScale | Index of scale to add a new colored range to. |
| dblStartWidth | start width (in pixels) |
| dblFinishWidth | finish width (in pixels) |
| dblOffsetFromFrame | offset from the gauge frame (in pixels) |
| brTextLabel | text label color; if this parameter is specified, all text labels within this range will be drawn with this color. |
| brTickMarkOutline | tick mark outline color; if this parameter is specified, all tick marks within this range will be drawn with this color. |
| brTickMarkFill | tick mark background color; if this parameter is specified, all tick marks within this range will be filled by this color. |
| bRedraw | TRUE - redraw the gauge. |