Inheritance diagram for NPlot::BarPlot:
Public Member Functions | |
BarPlot () | |
Default Constructor. | |
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. | |
void | WriteData (System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion) |
Write data associated with the plot as text. | |
Properties | |
object | OrdinateDataTop |
Gets or sets the data, or column name for the ordinate [y] axis. | |
object | ordinateDataTop_ = null |
object | OrdinateDataBottom |
Gets or sets the data, or column name for the ordinate [y] axis. | |
object | ordinateDataBottom_ = null |
object | AbscissaData |
Gets or sets the data, or column name for the abscissa [x] axis. | |
object | abscissaData_ = null |
System.Drawing.Pen | BorderPen |
The pen used to draw the plot. | |
System.Drawing.Pen | borderPen_ = new Pen(Color.Black) |
System.Drawing.Color | BorderColor |
The color of the pen used to draw lines in this plot. | |
IRectangleBrush | FillBrush |
Set/Get the fill brush. | |
IRectangleBrush | rectangleBrush_ = new RectangleBrushes.Solid( Color.LightGray ) |
Definition at line 61 of file BarPlot.cs.
|
Default Constructor.
Definition at line 67 of file BarPlot.cs. |
|
Draws the line plot on a GDI+ surface against the provided x and y axes.
Implements NPlot::IDrawable. Definition at line 129 of file BarPlot.cs. References AbscissaData, borderPen_, NPlot::SequenceAdapter::Count, NPlot::BasePlot::DataMember, NPlot::BasePlot::DataSource, NPlot::IRectangleBrush::Get(), OrdinateDataBottom, OrdinateDataTop, rectangleBrush_, and NPlot::ITransform2D::Transform(). |
|
Draws a representation of this plot in the legend.
Implements NPlot::IPlot. Definition at line 191 of file BarPlot.cs. References borderPen_, NPlot::IRectangleBrush::Get(), and rectangleBrush_. |
|
Returns an x-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 158 of file BarPlot.cs. References AbscissaData, NPlot::BasePlot::DataMember, NPlot::BasePlot::DataSource, OrdinateDataBottom, OrdinateDataTop, and NPlot::SequenceAdapter::SuggestXAxis(). |
|
Returns a y-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 174 of file BarPlot.cs. References AbscissaData, NPlot::BasePlot::DataMember, NPlot::BasePlot::DataSource, OrdinateDataBottom, OrdinateDataTop, and NPlot::SequenceAdapter::SuggestYAxis(). |
|
Write data associated with the plot as text.
Implements NPlot::IPlot. Definition at line 266 of file BarPlot.cs. |
|
Gets or sets the data, or column name for the abscissa [x] axis.
Definition at line 110 of file BarPlot.cs. Referenced by Draw(), SuggestXAxis(), and SuggestYAxis(). |
|
Definition at line 120 of file BarPlot.cs. |
|
The color of the pen used to draw lines in this plot.
Definition at line 221 of file BarPlot.cs. |
|
The pen used to draw the plot.
Definition at line 204 of file BarPlot.cs. |
|
Definition at line 214 of file BarPlot.cs. Referenced by Draw(), and DrawInLegend(). |
|
Set/Get the fill brush.
Definition at line 244 of file BarPlot.cs. |
|
Gets or sets the data, or column name for the ordinate [y] axis.
Definition at line 93 of file BarPlot.cs. Referenced by Draw(), SuggestXAxis(), and SuggestYAxis(). |
|
Definition at line 103 of file BarPlot.cs. |
|
Gets or sets the data, or column name for the ordinate [y] axis.
Definition at line 76 of file BarPlot.cs. Referenced by Draw(), SuggestXAxis(), and SuggestYAxis(). |
|
Definition at line 86 of file BarPlot.cs. |
|
Definition at line 255 of file BarPlot.cs. Referenced by Draw(), and DrawInLegend(). |