Class ScatterPlotAxisChart

  • All Implemented Interfaces:
    java.io.Serializable, HTMLChartTestable

    public class ScatterPlotAxisChart
    extends AxisChart
    implements HTMLChartTestable
    This Class is used to create all axis chart types. This class knows how to render charts based on the ChartType specified in on the iAxisChartDataSet.
    See Also:
    Serialized Form
    • Constructor Detail

      • ScatterPlotAxisChart

        public ScatterPlotAxisChart​(IScatterPlotDataSeries iScatterPlotDataSeries,
                                    ChartProperties chartProperties,
                                    AxisProperties axisProperties,
                                    LegendProperties legendProperties,
                                    int pixelWidth,
                                    int pixelHeight)
        Constructor
        Parameters:
        iScatterPlotDataSeries -
        chartProperties -
        axisProperties -
        legendProperties - if no legend is desired, pass NULL
        pixelWidth -
        pixelHeight -
    • Method Detail

      • setupDataAxisProperties

        protected NumericTagGroup setupDataAxisProperties​(Axis axis,
                                                          DataAxisProperties dataAxisProperties,
                                                          AxisChartDataProcessor axisChartDataProcessor,
                                                          java.awt.font.FontRenderContext fontRenderContext)
        Once we determine which axis is the data axis, the logic to set it up is the same whether it is a horizontal or vertical plot.
        Overrides:
        setupDataAxisProperties in class AxisChart
        Parameters:
        dataAxisProperties -
        axisChartDataProcessor -
        fontRenderContext -
        Returns:
        NumericTagGroup need to set this on the right axis
      • setupAxis

        protected void setupAxis​(AxisChartDataProcessor axisChartDataProcessor,
                                 java.awt.font.FontRenderContext fontRenderContext)
        Overrides:
        setupAxis in class AxisChart
        Parameters:
        axisChartDataProcessor -
        fontRenderContext -
      • toHTML

        public void toHTML​(HTMLGenerator htmlGenerator,
                           java.lang.String imageFileName,
                           ImageMap imageMap)
        Enables the testing routines to display the contents of this Object. Override Chart implementation as PieCharts use AreaProperties directly rather than a child.
        Specified by:
        toHTML in interface HTMLChartTestable
        Overrides:
        toHTML in class AxisChart
        Parameters:
        htmlGenerator -
        imageFileName -
        imageMap - if this is NULL we are not creating image map data in html