Class AbstractChart<T extends AbstractChart<T>>

  • Direct Known Subclasses:
    Chart, PieChart, TimeChart

    public abstract class AbstractChart<T extends AbstractChart<T>>
    extends java.lang.Object
    • Constructor Detail

      • AbstractChart

        protected AbstractChart​(java.lang.String chartTitle)
    • Method Detail

      • isAddPattern

        public boolean isAddPattern()
      • setAddPattern

        public T setAddPattern​(boolean addPattern)
      • addPattern

        public T addPattern()
      • getThis

        protected abstract T getThis()
      • getChartTitle

        public java.lang.String getChartTitle()
      • setChartTitle

        public T setChartTitle​(java.lang.String chartTitle)
      • isHideLegend

        public boolean isHideLegend()
      • setHideLegend

        public T setHideLegend​(boolean hideLegend)
      • hideLegend

        public T hideLegend()
      • isHideTitle

        public boolean isHideTitle()
      • setHideTitle

        public T setHideTitle​(boolean hideTitle)
      • hideTitle

        public T hideTitle()
      • getDefaultconfiguration

        protected com.fasterxml.jackson.databind.node.ObjectNode getDefaultconfiguration()
        return default options for a chart
        Returns:
        the default options Map
      • getJsonConfiguration

        public com.fasterxml.jackson.databind.node.ObjectNode getJsonConfiguration()
                                                                            throws com.fasterxml.jackson.core.JsonProcessingException
        return common chart configuration
        Returns:
        the ObjectNode configuration
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException