Controls the color of the bar. Defaults to blue.
Setter
Get the centers of the bars.
Get the heights of the bars.
Controls whether each bar is outlined in a black rectange.
Scale this object by a factor of scaleFactor in the X direction. This is useful for getting it onto the same scale as another plot.
Scale this object by a factor of scaleFactor in the Y direction. * This is useful for getting it onto the same scale as another plot.
Shift this graph by shiftBy units in the X direction. This is useful for getting it onto the same scale as another plot.
Create a BarPlot that is to be stacked on top of this one. For a convenience function for creating such a plot, see stackedBar().
The default labeling includes each center receiving its own x tick label if there are <= 10 bars on the graph.
Create a BarPlot. centers and heights must be input ranges with elements implicitly convertible to double. width determines the width of each bar relative to the X-axis scale and must be greater than 0.
Create a BarPlot with error bars. lowerErrors and upperErrors must be input ranges with elements implicitly convertible to double for error bars to be shown. Any other value, such as null or 0, will result in no error bars being shown. Therefore, to only show, for example, upper erros, simply pass in null or 0 for the lower errors.
Returns true if this plot type supports legends, otherwise false.
Convenience method that instantiates a Figure object with this plot. Useful for creating single-plot figures w/o a lot of boilerplate.
Instantiates a Figure object with this plot and also places the default axes and tick labeling and title for the plot type, if any, on the Figure. If a plot type has no default labeling, simply forwards to toFigure().
The leftmost point on the plot.
The rightmost point on the plot.
The topmost point on the plot.
The bottommost point on the plot.
A basic bar plot.