All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class Chart extends AbstractChart
Chart Class

Used to parse a chart tag with XStream

Generates an Chart widget

Author:
Pablo VIDAL - 20/OCT/2014
See Also:
  • Constructor Details

    • Chart

      public Chart()
  • Method Details

    • copy

      public Chart copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Returns:
      element copy
    • is3DChart

      public boolean is3DChart()
      Check if is a 3D chart TYPE
      Returns:
      flag 3D chart
    • isStockChart

      public boolean isStockChart()
      Returns if is stock chart
      Returns:
      Is stock chart
    • isInverted

      public boolean isInverted()
      Returns if is inverted
      Returns:
      Is inverted
    • isEnableDataLabels

      public boolean isEnableDataLabels()
      Returns if data labels are enabled
      Returns:
      Data labels are enabled
    • getChartModel

      public Map<String,Object> getChartModel()
      Retrieve chart model
      Returns:
      Chart model
    • getComponentTag

      public String getComponentTag()
      Description copied from class: Component
      Retrieve component tag (to be overriden) tag
      Overrides:
      getComponentTag in class Component
      Returns:
      Component tag
    • getHelpTemplate

      public String getHelpTemplate()
      Description copied from class: Element
      Retrieve help template
      Overrides:
      getHelpTemplate in class Element
      Returns:
      Help template
    • getReportStructure

      public List<Element> getReportStructure(List<Element> printElementList, String label, com.fasterxml.jackson.databind.node.ObjectNode parameters, String dataSuffix)
      Get print element list (to be overwritten)
      Overrides:
      getReportStructure in class Element
      Parameters:
      printElementList - Print element list
      label - Last label
      parameters - Parameters
      dataSuffix - Data suffix
      Returns:
      Print bean
    • isStacking

      public boolean isStacking()
      Is a stacking chart
      Returns:
      if is stack