Class XYChartImpl

All Implemented Interfaces:
Chart<XYChart>, CoordinateChart<XYChart>, RectangularChart<XYChart>, XYChart, HasStartEffect<XYChart>, ChartModel<XYChart>, CoordinateChartModel<XYChart>, RectangularChartModel<XYChart>, XYChartModel<XYChart>, HasColors<XYChart>, HasMargins<XYChart>, AttachNotifier, Component, Component.BelongToFrame, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper, HasContextHelp, HasDebugId, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, org.springframework.beans.factory.InitializingBean

public class XYChartImpl extends RectangularChartImpl<XYChart,XYChartModelImpl> implements XYChart
  • Constructor Details

    • XYChartImpl

      public XYChartImpl()
  • Method Details

    • createChartConfiguration

      protected XYChartModelImpl createChartConfiguration()
      Specified by:
      createChartConfiguration in class ChartImpl<XYChart,XYChartModelImpl>
    • setupDefaults

      protected void setupDefaults(XYChartModelImpl chart)
      Overrides:
      setupDefaults in class RectangularChartImpl<XYChart,XYChartModelImpl>
    • setupXYChartDefaults

      protected void setupXYChartDefaults(XYChartModelImpl chart)
    • getHideXScrollbar

      public Boolean getHideXScrollbar()
      Specified by:
      getHideXScrollbar in interface XYChartModel<XYChart>
      Returns:
      true if scrollbar of X axis (horizontal) is hidden
    • setHideXScrollbar

      public XYChart setHideXScrollbar(Boolean hideXScrollbar)
      Description copied from interface: XYChartModel
      Set hideXScrollbar to true if scrollbar of X axis (horizontal) should be hidden. If not set the default value is false.
      Specified by:
      setHideXScrollbar in interface XYChartModel<XYChart>
      Parameters:
      hideXScrollbar - hide X scrollbar option
      Returns:
      XY chart model
    • getHideYScrollbar

      public Boolean getHideYScrollbar()
      Specified by:
      getHideYScrollbar in interface XYChartModel<XYChart>
      Returns:
      true if scrollbar of Y axis (vertical) is hidden
    • setHideYScrollbar

      public XYChart setHideYScrollbar(Boolean hideYScrollbar)
      Description copied from interface: XYChartModel
      Set hideYScrollbar to true if scrollbar of Y axis (vertical) should be hidden. If not set the default value is false.
      Specified by:
      setHideYScrollbar in interface XYChartModel<XYChart>
      Parameters:
      hideYScrollbar - hide Y scrollbar option
      Returns:
      XY chart model
    • getDataDateFormat

      public String getDataDateFormat()
      Specified by:
      getDataDateFormat in interface XYChartModel<XYChart>
      Returns:
      data date format
    • setDataDateFormat

      public XYChart setDataDateFormat(String dataDateFormat)
      Description copied from interface: XYChartModel
      Sets the data date format (date/time). Use it if you have date-based value axis in your XY chart. Note, that two-digit years "YY" as well as literal month names "MMM" are NOT supported in this setting.
      Specified by:
      setDataDateFormat in interface XYChartModel<XYChart>
      Parameters:
      dataDateFormat - data date format string
      Returns:
      XY chart model
    • getMaxValue

      public Integer getMaxValue()
      Specified by:
      getMaxValue in interface XYChartModel<XYChart>
      Returns:
      maximum value of the size/scale of bubbles
    • setMaxValue

      public XYChart setMaxValue(Integer maxValue)
      Description copied from interface: XYChartModel
      Sets the size/scale of bubbles. If these properties are not set, the bubble with smallest value will be of minBulletSize and bubble with biggest value will be of maxBulletSize. However, you might want bubble size to change relative to 0 or some other value. In this case you can use minValue and maxValue properties. Note, if you use these two settings, you might also want to set minBulletSize to 0.
      Specified by:
      setMaxValue in interface XYChartModel<XYChart>
      Parameters:
      maxValue - maximum value of the size/scale of bubbles
      Returns:
      XY chart model
    • getMinValue

      public Integer getMinValue()
      Specified by:
      getMinValue in interface XYChartModel<XYChart>
      Returns:
      minimum value of the size/scale of bubbles
    • setMinValue

      public XYChart setMinValue(Integer minValue)
      Description copied from interface: XYChartModel
      Sets the size/scale of bubbles. If these properties are not set, the bubble with smallest value will be of minBulletSize and bubble with biggest value will be of maxBulletSize. However, you might want bubble size to change relative to 0 or some other value. In this case you can use minValue and maxValue properties. Note, if you use these two settings, you might also want to set minBulletSize to 0.
      Specified by:
      setMinValue in interface XYChartModel<XYChart>
      Parameters:
      minValue - minimum value of the size/scale of bubbles
      Returns:
      XY chart model