Inheritance diagram for NPlot::StepPlot:
Public Member Functions | |
StepPlot () | |
Constructor. | |
virtual void | Draw (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draws the step plot on a GDI+ surface against the provided x and y axes. | |
Axis | SuggestXAxis () |
Returns an X-axis suitable for use by this plot. | |
Axis | SuggestYAxis () |
Returns an Y-axis suitable for use by this plot. | |
virtual void | DrawInLegend (Graphics g, Rectangle startEnd) |
Draws a representation of this plot in the legend. | |
Properties | |
bool | Center |
Gets or sets whether or not steps should be centered. | |
bool | center_ |
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. | |
bool | HideVerticalSegments |
If true, then vertical lines are hidden. | |
bool | hideVerticalSegments_ = false |
bool | HideHorizontalSegments |
If true, then vertical lines are hidden. | |
bool | hideHorizontalSegments_ = false |
float | WidthScale |
The horizontal line length is multiplied by this amount. | |
float | scale_ = 1.0f |
Definition at line 61 of file StepPlot.cs.
|
Constructor.
Definition at line 67 of file StepPlot.cs. |
|
Draws the step plot on a GDI+ surface against the provided x and y axes.
Implements NPlot::IDrawable. Definition at line 79 of file StepPlot.cs. References NPlot::BaseSequencePlot::AbscissaData, center_, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, hideHorizontalSegments_, hideVerticalSegments_, NPlot::BaseSequencePlot::OrdinateData, Pen, scale_, NPlot::PhysicalAxis::WorldToPhysical(), NPlot::PointD::X, and NPlot::PointD::Y. |
|
Draws a representation of this plot in the legend.
Implements NPlot::IPlot. Definition at line 237 of file StepPlot.cs. References pen_. |
|
Returns an X-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.
Implements NPlot::IPlot. Definition at line 159 of file StepPlot.cs. References NPlot::BaseSequencePlot::AbscissaData, center_, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::BaseSequencePlot::OrdinateData, NPlot::SequenceAdapter::SuggestXAxis(), NPlot::Axis::WorldMax, NPlot::Axis::WorldMin, and NPlot::PointD::X. |
|
Returns an Y-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.
Implements NPlot::IPlot. Definition at line 204 of file StepPlot.cs. References NPlot::BaseSequencePlot::AbscissaData, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::BaseSequencePlot::OrdinateData, and NPlot::SequenceAdapter::SuggestYAxis(). |
|
Gets or sets whether or not steps should be centered. If true, steps will be centered on the X abscissa values. If false, the step corresponding to a given x-value will be drawn between this x-value and the next x-value at the current y-height. Definition at line 219 of file StepPlot.cs. |
|
Definition at line 229 of file StepPlot.cs. Referenced by Draw(), and SuggestXAxis(). |
|
The color of the pen used to draw lines in this plot.
Definition at line 265 of file StepPlot.cs. |
|
If true, then vertical lines are hidden.
Definition at line 305 of file StepPlot.cs. |
|
Definition at line 315 of file StepPlot.cs. Referenced by Draw(). |
|
If true, then vertical lines are hidden.
Definition at line 288 of file StepPlot.cs. |
|
Definition at line 298 of file StepPlot.cs. Referenced by Draw(). |
|
The pen used to draw the plot.
Definition at line 248 of file StepPlot.cs. Referenced by Draw(). |
|
Definition at line 258 of file StepPlot.cs. Referenced by DrawInLegend(). |
|
Definition at line 333 of file StepPlot.cs. Referenced by Draw(). |
|
The horizontal line length is multiplied by this amount. Default corresponds to a value of 1.0. Definition at line 323 of file StepPlot.cs. |