Klasse ContinuousBarPlot

Alle implementierten Schnittstellen:
ChartPlot, Serializable

public class ContinuousBarPlot extends StandardPlot
A general class for plotting data of groups of values. This plot can use data from any class that implements the BaseDataset interface.
Seit:
8.0
Siehe auch:
  • Felddetails

    • DEFAULT_BAR_STYLE

      public static final ContinuousBarStyle DEFAULT_BAR_STYLE
      Default chart style with this plot.
  • Konstruktordetails

    • ContinuousBarPlot

      public ContinuousBarPlot()
      Creates a continuous bar plot with default properties.
      Seit:
      8.0
    • ContinuousBarPlot

      public ContinuousBarPlot(ContinuousBarStyle style)
      Creates a continuous bar plot with defined chart style. Initializes all properties with default values.
      Parameter:
      style - the chart style (null not permitted)
      Seit:
      8.0
      Siehe auch:
  • Methodendetails

    • setCategoryAxis

      public void setCategoryAxis(com.inet.report.chart.axis.ContinuousAxis categoryAxis)
      Sets a category axis. Note: the date chart style supports only a ContinuousDateAxis, the number style supports only ContinuousNumberAxis.
      Parameter:
      categoryAxis - the category axis (null not permitted)
      Löst aus:
      IllegalArgumentException - if the axis is null or from not supported type.
      Seit:
      8.0
      Siehe auch:
    • setDataAxis

      public void setDataAxis(ContinuousNumberAxis dataAxis)
      Sets a data axis of this plot. The data axis shows the summarized values of the data fields.
      Parameter:
      dataAxis - the data axis (null not permitted)
      Löst aus:
      IllegalArgumentException - if the axis is null.
      Seit:
      8.0
      Siehe auch:
    • getStyle

      public ChartStyle getStyle()
      Returns the style of this chart, ie. the general category this plot belongs to.
      Angegeben von:
      getStyle in Klasse StandardPlot
      Gibt zurück:
      the style
      Siehe auch:
    • setStyle

      public void setStyle(ContinuousBarStyle style)
      Sets the chart style of this plot. Note: if you change the chart style from date to number all number are lost.
      Parameter:
      style - the chart style (null not permitted)
      Seit:
      8.0
      Siehe auch:
    • isOverlapping

      public boolean isOverlapping()
      In a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars. With the normal BarChart, the bars of the individual values of the series are displayed next to each other. Returns if bars from different series are painted over each other and not beside each other
      Gibt zurück:
      true if the bars are overlapping each other
      Seit:
      23.4
    • setOverlapping

      public void setOverlapping(boolean isOverlapping)
      In a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars. With the normal BarChart, the bars of the individual values of the series are displayed next to each other. With this setting, the behavior of the ContinousBarChart can be adapted to the behavior of the normal BarCharts.
      Parameter:
      isOverlapping - true if the bars should be overlapping other bars
      Seit:
      23.4
    • readProperties

      public void readProperties(Element element, Chart2 chart)
      Reads the chart properties from the DOMParser Element.
      Angegeben von:
      readProperties in Schnittstelle ChartPlot
      Setzt außer Kraft:
      readProperties in Klasse StandardPlot
      Parameter:
      element - the DOMParser Element
      chart - the chart
    • getSubProperties

      protected StringBuilder getSubProperties(int depth)
      Returns the serialized simple properties of subclasses.
      Setzt außer Kraft:
      getSubProperties in Klasse StandardPlot
      Parameter:
      depth - the depth of XML indent
      Gibt zurück:
      the properties.