Class PeriodChart

    • Method Detail

      • fromTitle

        public static PeriodChart fromTitle​(String title)
        Initializes a new chart with the specified title that will provides the data in order to display them on a temporal graphic.
        Parameters:
        title - the main title of the chart.
        Returns:
        a new instance of PeriodChart.
      • withoutTitle

        public static PeriodChart withoutTitle()
        Initializes a new chart without title that will provides the data in order to display them on a temporal graphic.
        Returns:
        a new instance of PeriodChart.
      • getType

        public ChartType getType()
        Description copied from interface: Chart
        Gets the type of chart.
        Returns:
        the ChartType.
      • getDefaultPeriodType

        public PeriodType getDefaultPeriodType()
        Gets the default period type.
        Returns:
        the default PeriodType.
      • setDefaultPeriodType

        public PeriodChart setDefaultPeriodType​(PeriodType defaultPeriodType)
        Sets the default period type.
        Parameters:
        defaultPeriodType - the default period type.
        Returns:
        the instance of the chart itself.