Class TimePeriodDatasetLabelGenerator

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jfree.chart.labels.XYItemLabelGenerator, org.jfree.chart.util.PublicCloneable

    public class TimePeriodDatasetLabelGenerator
    extends org.jfree.chart.labels.StandardXYItemLabelGenerator
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    See Also:
    Serialized Form
    • Constructor Detail

      • TimePeriodDatasetLabelGenerator

        public TimePeriodDatasetLabelGenerator​(Map<Comparable<?>,​Map<org.jfree.data.time.TimePeriod,​String>> labelsMap)
      • TimePeriodDatasetLabelGenerator

        public TimePeriodDatasetLabelGenerator​(Map<Comparable<?>,​Map<org.jfree.data.time.TimePeriod,​String>> labelsMap,
                                               Locale locale)
    • Method Detail

      • generateLabel

        public String generateLabel​(org.jfree.data.xy.XYDataset dataset,
                                    int series,
                                    int item)
        Specified by:
        generateLabel in interface org.jfree.chart.labels.XYItemLabelGenerator
        Overrides:
        generateLabel in class org.jfree.chart.labels.StandardXYItemLabelGenerator