|
Header
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CategoryAxis | |
---|---|
org.jfree.chart | Core classes, including JFreeChart and
ChartPanel . |
org.jfree.chart.annotations | A framework for addings annotations to charts. |
org.jfree.chart.axis | Axis classes and interfaces. |
org.jfree.chart.plot | Plot classes and related interfaces. |
org.jfree.chart.renderer.category | Plug-in renderers for the CategoryPlot class. |
Uses of CategoryAxis in org.jfree.chart |
---|
Methods in org.jfree.chart with parameters of type CategoryAxis | |
---|---|
protected void |
StandardChartTheme.applyToCategoryAxis(CategoryAxis axis)
Applies the attributes for this theme to a CategoryAxis . |
Uses of CategoryAxis in org.jfree.chart.annotations |
---|
Methods in org.jfree.chart.annotations with parameters of type CategoryAxis | |
---|---|
void |
CategoryPointerAnnotation.draw(java.awt.Graphics2D g2,
CategoryPlot plot,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation. |
void |
CategoryTextAnnotation.draw(java.awt.Graphics2D g2,
CategoryPlot plot,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation. |
void |
CategoryLineAnnotation.draw(java.awt.Graphics2D g2,
CategoryPlot plot,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation. |
void |
CategoryAnnotation.draw(java.awt.Graphics2D g2,
CategoryPlot plot,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation. |
Uses of CategoryAxis in org.jfree.chart.axis |
---|
Subclasses of CategoryAxis in org.jfree.chart.axis | |
---|---|
class |
CategoryAxis3D
An axis that displays categories and has a 3D effect. |
class |
ExtendedCategoryAxis
An extended version of the CategoryAxis class that supports
sublabels on the axis. |
class |
SubCategoryAxis
A specialised category axis that can display sub-categories. |
Uses of CategoryAxis in org.jfree.chart.plot |
---|
Methods in org.jfree.chart.plot that return CategoryAxis | |
---|---|
CategoryAxis |
CategoryPlot.getDomainAxis()
Returns the domain axis for the plot. |
CategoryAxis |
CategoryPlot.getDomainAxis(int index)
Returns a domain axis. |
CategoryAxis |
CategoryPlot.getDomainAxisForDataset(int index)
Returns the domain axis for a dataset. |
Methods in org.jfree.chart.plot with parameters of type CategoryAxis | |
---|---|
java.util.List |
CategoryPlot.getCategoriesForAxis(CategoryAxis axis)
Returns a list of the categories that should be displayed for the specified axis. |
java.util.List |
CombinedDomainCategoryPlot.getCategoriesForAxis(CategoryAxis axis)
Overridden to return the categories in the subplots. |
int |
CategoryPlot.getDomainAxisIndex(CategoryAxis axis)
Returns the index of the specified axis, or -1 if the axis
is not assigned to the plot. |
void |
CategoryPlot.setDomainAxes(CategoryAxis[] axes)
Sets the domain axes for this plot and sends a PlotChangeEvent
to all registered listeners. |
void |
CategoryPlot.setDomainAxis(CategoryAxis axis)
Sets the domain axis for the plot and sends a PlotChangeEvent to
all registered listeners. |
void |
CategoryPlot.setDomainAxis(int index,
CategoryAxis axis)
Sets a domain axis and sends a PlotChangeEvent to all
registered listeners. |
void |
CategoryPlot.setDomainAxis(int index,
CategoryAxis axis,
boolean notify)
Sets a domain axis and, if requested, sends a PlotChangeEvent to
all registered listeners. |
Constructors in org.jfree.chart.plot with parameters of type CategoryAxis | |
---|---|
CategoryPlot(CategoryDataset dataset,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryItemRenderer renderer)
Creates a new plot. |
|
CombinedDomainCategoryPlot(CategoryAxis domainAxis)
Creates a new plot. |
Uses of CategoryAxis in org.jfree.chart.renderer.category |
---|
Methods in org.jfree.chart.renderer.category that return CategoryAxis | |
---|---|
protected CategoryAxis |
AbstractCategoryItemRenderer.getDomainAxis(CategoryPlot plot,
int index)
Returns a domain axis for a plot. |
Methods in org.jfree.chart.renderer.category with parameters of type CategoryAxis | |
---|---|
protected double |
BarRenderer.calculateBarW0(CategoryPlot plot,
PlotOrientation orientation,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
CategoryItemRendererState state,
int row,
int column)
Calculates the coordinate of the first "side" of a bar. |
protected double |
LevelRenderer.calculateBarW0(CategoryPlot plot,
PlotOrientation orientation,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
CategoryItemRendererState state,
int row,
int column)
Calculates the coordinate of the first "side" of a bar. |
protected double |
GroupedStackedBarRenderer.calculateBarW0(CategoryPlot plot,
PlotOrientation orientation,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
CategoryItemRendererState state,
int row,
int column)
Calculates the coordinate of the first "side" of a bar. |
protected double |
BarRenderer.calculateSeriesWidth(double space,
CategoryAxis axis,
int categories,
int series)
Calculates the available space for each series. |
protected double |
LevelRenderer.calculateSeriesWidth(double space,
CategoryAxis axis,
int categories,
int series)
Calculates the available space for each series. |
void |
CategoryItemRenderer.drawDomainMarker(java.awt.Graphics2D g2,
CategoryPlot plot,
CategoryAxis axis,
CategoryMarker marker,
java.awt.geom.Rectangle2D dataArea)
Draws a line (or some other marker) to indicate a particular category on the domain axis. |
void |
AbstractCategoryItemRenderer.drawDomainMarker(java.awt.Graphics2D g2,
CategoryPlot plot,
CategoryAxis axis,
CategoryMarker marker,
java.awt.geom.Rectangle2D dataArea)
Draws a marker for the domain axis. |
protected void |
LayeredBarRenderer.drawHorizontalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the bar for a single (series, category) data item. |
void |
BoxAndWhiskerRenderer.drawHorizontalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the visual representation of a single data item when the plot has a horizontal orientation. |
protected void |
StatisticalBarRenderer.drawHorizontalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
StatisticalCategoryDataset dataset,
int visibleRow,
int row,
int column)
Draws an item for a plot with a horizontal orientation. |
protected void |
IntervalBarRenderer.drawInterval(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
IntervalCategoryDataset dataset,
int row,
int column)
Draws a single interval. |
void |
CategoryStepRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
StatisticalLineAndShapeRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
IntervalBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item. |
void |
AreaRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
WaterfallBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item. |
void |
LineRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
BarRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a 3D bar to represent one data item. |
void |
BarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item. |
void |
MinMaxCategoryRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
CategoryItemRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a single data item. |
void |
ScatterRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
LevelRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item. |
void |
StackedBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a stacked bar for a specific item. |
void |
StackedAreaRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
StatisticalBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset data,
int row,
int column,
int pass)
Draws the bar with its standard deviation line range for a single (series, category) data item. |
void |
GanttRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item. |
void |
LineAndShapeRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
void |
LayeredBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset data,
int row,
int column,
int pass)
Draws the bar for one item in the dataset. |
void |
GroupedStackedBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a stacked bar for a specific item. |
void |
StackedBarRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the visual representation of one data item from the chart (in fact, this method does nothing until it reaches the last item for each category, at which point it draws all the items for that category). |
void |
BoxAndWhiskerRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item. |
protected void |
StackedBarRenderer3D.drawStackHorizontal(java.util.List values,
java.lang.Comparable category,
java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset)
Draws a stack of bars for one category, with a horizontal orientation. |
protected void |
StackedBarRenderer3D.drawStackVertical(java.util.List values,
java.lang.Comparable category,
java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset)
Draws a stack of bars for one category, with a vertical orientation. |
protected void |
GanttRenderer.drawTask(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
GanttCategoryDataset dataset,
int row,
int column)
Draws a single task. |
protected void |
GanttRenderer.drawTasks(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
GanttCategoryDataset dataset,
int row,
int column)
Draws the tasks/subtasks for one item. |
protected void |
LayeredBarRenderer.drawVerticalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the bar for a single (series, category) data item. |
void |
BoxAndWhiskerRenderer.drawVerticalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the visual representation of a single data item when the plot has a vertical orientation. |
protected void |
StatisticalBarRenderer.drawVerticalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
StatisticalCategoryDataset dataset,
int visibleRow,
int row,
int column)
Draws an item for a plot with a vertical orientation. |
double |
CategoryItemRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item. |
double |
LevelRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item. |
double |
AbstractCategoryItemRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item. |
double |
GanttRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item. |
|
Footer
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |