Inheritance diagram for NPlot::VerticalLine:
Public Member Functions | |
VerticalLine (double abscissaValue) | |
Constructor. | |
VerticalLine (double abscissaValue, Color color) | |
Constructor. | |
VerticalLine (double abscissaValue, Pen pen) | |
Constructor. | |
void | DrawInLegend (System.Drawing.Graphics g, System.Drawing.Rectangle startEnd) |
Draws a representation of the line in the legend. | |
Axis | SuggestXAxis () |
Returns an x-axis that is suitable for drawing this plot. | |
Axis | SuggestYAxis () |
Returns null indicating that y extremities of the line are variable. | |
void | WriteData (System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion) |
Writes text data describing the vertical line object to the supplied string builder. | |
void | Draw (System.Drawing.Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draws the vertical 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 | AbscissaValue |
abscissa (X) value to draw horizontal line at. | |
Pen | Pen |
Pen to use to draw the horizontal line. | |
double | value_ |
Pen | pen_ = new Pen( Color.Black ) |
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 62 of file VerticalLine.cs.
|
Constructor.
Definition at line 69 of file VerticalLine.cs. |
|
Constructor.
Definition at line 80 of file VerticalLine.cs. References Pen. |
|
Constructor.
Definition at line 92 of file VerticalLine.cs. |
|
Draws the vertical line plot on a GDI+ surface against the provided x and y axes.
Definition at line 199 of file VerticalLine.cs. References AbscissaValue, pen_, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, pixelIndent_, scale_, value_, and NPlot::PhysicalAxis::WorldToPhysical(). |
|
Draws a representation of the line in the legend.
Definition at line 103 of file VerticalLine.cs. References pen_. |
|
Returns an x-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 148 of file VerticalLine.cs. References value_. |
|
Returns null indicating that y extremities of the line are variable.
Implements NPlot::IPlot. Definition at line 158 of file VerticalLine.cs. |
|
Writes text data describing the vertical 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 172 of file VerticalLine.cs. References Label, value_, NPlot::RectangleD::Width, and NPlot::RectangleD::X. |
|
abscissa (X) value to draw horizontal line at.
Definition at line 226 of file VerticalLine.cs. Referenced by Draw(), and NPlot::FilledRegion::Draw(). |
|
A label to associate with the plot - used in the legend.
Implements NPlot::IPlot. Definition at line 114 of file VerticalLine.cs. Referenced by WriteData(). |
|
Definition at line 125 of file VerticalLine.cs. |
|
The line length is multiplied by this amount. Default corresponds to a value of 1.0. Definition at line 279 of file VerticalLine.cs. |
|
Pen to use to draw the horizontal line.
Definition at line 241 of file VerticalLine.cs. Referenced by VerticalLine(). |
|
Definition at line 254 of file VerticalLine.cs. Referenced by Draw(), and DrawInLegend(). |
|
Each end of the line is indented by this many pixels.
Definition at line 261 of file VerticalLine.cs. |
|
Definition at line 271 of file VerticalLine.cs. Referenced by Draw(). |
|
Definition at line 289 of file VerticalLine.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 132 of file VerticalLine.cs. |
|
Definition at line 142 of file VerticalLine.cs. |
|
Definition at line 253 of file VerticalLine.cs. Referenced by Draw(), SuggestXAxis(), and WriteData(). |