Inheritance diagram for NPlot::LinePlot:
Public Member Functions | |
LinePlot () | |
Default constructor. | |
LinePlot (object dataSource) | |
Constructor. | |
LinePlot (object ordinateData, object abscissaData) | |
Constructor. | |
void | DrawLineOrShadow (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis, bool drawShadow) |
Draws the line plot on a GDI+ surface against the provided x and y axes. | |
void | Draw (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draws the line plot on a GDI+ surface against the provided x and y axes. | |
Axis | SuggestXAxis () |
Returns an x-axis that is suitable for drawing this plot. | |
Axis | SuggestYAxis () |
Returns a y-axis that is suitable for drawing this plot. | |
virtual void | DrawInLegend (Graphics g, Rectangle startEnd) |
Draws a representation of this plot in the legend. | |
Properties | |
bool | Shadow |
If true, draw a shadow under the line. | |
bool | shadow_ = false |
Color | ShadowColor |
Color of line shadow if drawn. | |
Color | shadowColor_ = Color.FromArgb(100,100,100) |
Point | ShadowOffset |
Offset of shadow line from primary line. | |
Point | shadowOffset_ = new Point( 1, 1 ) |
System.Drawing.Pen | Pen |
The pen used to draw the plot. | |
System.Drawing.Pen | pen_ = new Pen(Color.Black) |
System.Drawing.Color | Color |
The color of the pen used to draw lines in this plot. |
Definition at line 62 of file LinePlot.cs.
|
Default constructor.
Definition at line 68 of file LinePlot.cs. |
|
Constructor.
Definition at line 77 of file LinePlot.cs. |
|
Constructor.
Definition at line 88 of file LinePlot.cs. |
|
Draws the line plot on a GDI+ surface against the provided x and y axes.
Implements NPlot::IDrawable. Definition at line 190 of file LinePlot.cs. References shadow_. |
|
Draws a representation of this plot in the legend.
Implements NPlot::IPlot. Definition at line 283 of file LinePlot.cs. References pen_. |
|
Draws the line plot on a GDI+ surface against the provided x and y axes.
Definition at line 102 of file LinePlot.cs. References NPlot::BaseSequencePlot::AbscissaData, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::BaseSequencePlot::OrdinateData, Pen, ShadowOffset, and NPlot::ITransform2D::Transform(). |
|
Returns an x-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 205 of file LinePlot.cs. References NPlot::BaseSequencePlot::AbscissaData, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::BaseSequencePlot::OrdinateData, and NPlot::SequenceAdapter::SuggestXAxis(). |
|
Returns a y-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 218 of file LinePlot.cs. References NPlot::BaseSequencePlot::AbscissaData, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::BaseSequencePlot::OrdinateData, and NPlot::SequenceAdapter::SuggestYAxis(). |
|
The color of the pen used to draw lines in this plot.
Definition at line 311 of file LinePlot.cs. |
|
The pen used to draw the plot.
Definition at line 294 of file LinePlot.cs. Referenced by DrawLineOrShadow(). |
|
Definition at line 304 of file LinePlot.cs. Referenced by DrawInLegend(). |
|
If true, draw a shadow under the line.
Definition at line 231 of file LinePlot.cs. |
|
Definition at line 241 of file LinePlot.cs. Referenced by Draw(). |
|
Color of line shadow if drawn. Use Shadow method to turn shadow on and off. Definition at line 248 of file LinePlot.cs. |
|
Definition at line 258 of file LinePlot.cs. |
|
Offset of shadow line from primary line.
Definition at line 265 of file LinePlot.cs. Referenced by DrawLineOrShadow(). |
|
Definition at line 275 of file LinePlot.cs. |