Method | Description | |
---|---|---|
ChartRectangle ( |
Create the on-chart rectangle
|
|
ChartRectangle ( |
Create the on-chart rectangle
|
|
Draw ( |
Chart will calls this method to draw object
|
|
GetRealRect ( |
Chart will calls this method to determine visible bounds of object with given view scale and graphics
|
|
MoveTo ( DPoint point ) : void |
This method will be called by chart when mouse was moved on chart
|
public ChartRectangle ( |
||
chart | Chart for rectangle | |
left_bottom | DPoint | The left-bottom corner point |
size | The size of rectangle | |
return | System |
public ChartRectangle ( |
||
chart | Chart for rectangle | |
left_bottom | DPoint | The left-bottom corner point |
size | The size of rectangle | |
color | Color | The color of rectangle |
return | System |
public Draw ( |
||
g | Graphics, which should be used for drawing | |
return | void |
public GetRealRect ( |
||
g | Current Graphics object, use it for MeasureStringWidth or something else | |
view_scale | double | Current view scale of chart |
return |
public MoveTo ( DPoint point ) : void | ||
point | DPoint | Stores the point of mouse cursor tied to grid |
return | void |