Inheritance diagram for NPlot::HorizontalLine:
Public Member Functions | |
HorizontalLine (double ordinateValue) | |
Constructor. | |
HorizontalLine (double ordinateValue, Color color) | |
Constructor. | |
HorizontalLine (double ordinateValue, Pen pen) | |
Constructor. | |
void | DrawInLegend (System.Drawing.Graphics g, System.Drawing.Rectangle startEnd) |
Draws a representation of the horizontal line in the legend. | |
Axis | SuggestXAxis () |
Returns null indicating that x extremities of the line are variable. | |
Axis | SuggestYAxis () |
Returns a y-axis that is suitable for drawing this plot. | |
void | WriteData (System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion) |
Writes text data describing the horizontal line object to the supplied string builder. | |
void | Draw (System.Drawing.Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draws the horizontal line plot on a GDI+ surface against the provided x and y axes. | |
Properties | |
string | Label |
A label to associate with the plot - used in the legend. | |
string | label_ = "" |
bool | ShowInLegend |
Whether or not to include an entry for this plot in the legend if it exists. | |
bool | showInLegend_ = false |
double | value_ |
double | OrdinateValue |
ordinate (Y) value to draw horizontal line at. | |
Pen | pen_ = new Pen( Color.Black ) |
Pen | Pen |
Pen to use to draw the horizontal line. | |
int | PixelIndent |
Each end of the line is indented by this many pixels. | |
int | pixelIndent_ = 0 |
float | LengthScale |
The line length is multiplied by this amount. | |
float | scale_ = 1.0f |
Definition at line 61 of file HorizontalLine.cs.
|
Constructor.
Definition at line 68 of file HorizontalLine.cs. |
|
Constructor.
Definition at line 79 of file HorizontalLine.cs. References Pen. |
|
Constructor.
Definition at line 90 of file HorizontalLine.cs. |
|
Draws the horizontal line plot on a GDI+ surface against the provided x and y axes.
Definition at line 197 of file HorizontalLine.cs. References pen_, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, pixelIndent_, scale_, value_, and NPlot::PhysicalAxis::WorldToPhysical(). |
|
Draws a representation of the horizontal line in the legend.
Definition at line 102 of file HorizontalLine.cs. References pen_. |
|
Returns null indicating that x extremities of the line are variable.
Implements NPlot::IPlot. Definition at line 148 of file HorizontalLine.cs. |
|
Returns a y-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 158 of file HorizontalLine.cs. References value_. |
|
Writes text data describing the horizontal line object to the supplied string builder. It is possible to specify that the data will be written only if the line is in the specified region.
Implements NPlot::IPlot. Definition at line 171 of file HorizontalLine.cs. References NPlot::RectangleD::Height, Label, value_, and NPlot::RectangleD::Y. |
|
A label to associate with the plot - used in the legend.
Implements NPlot::IPlot. Definition at line 113 of file HorizontalLine.cs. Referenced by WriteData(). |
|
Definition at line 124 of file HorizontalLine.cs. |
|
The line length is multiplied by this amount. Default corresponds to a value of 1.0. Definition at line 274 of file HorizontalLine.cs. |
|
ordinate (Y) value to draw horizontal line at.
Definition at line 224 of file HorizontalLine.cs. Referenced by NPlot::FilledRegion::Draw(). |
|
Pen to use to draw the horizontal line.
Definition at line 240 of file HorizontalLine.cs. Referenced by HorizontalLine(). |
|
Definition at line 235 of file HorizontalLine.cs. Referenced by Draw(), and DrawInLegend(). |
|
Each end of the line is indented by this many pixels.
Definition at line 256 of file HorizontalLine.cs. |
|
Definition at line 266 of file HorizontalLine.cs. Referenced by Draw(). |
|
Definition at line 284 of file HorizontalLine.cs. Referenced by Draw(). |
|
Whether or not to include an entry for this plot in the legend if it exists.
Implements NPlot::IPlot. Definition at line 131 of file HorizontalLine.cs. |
|
Definition at line 141 of file HorizontalLine.cs. |
|
Definition at line 219 of file HorizontalLine.cs. Referenced by Draw(), SuggestYAxis(), and WriteData(). |