Class PieChart2D

    • Field Detail

      • pieX

        private float pieX
      • pieY

        private float pieY
      • diameter

        private float diameter
    • Constructor Detail

      • PieChart2D

        public PieChart2D​(IPieChartDataSet iPieChartDataSet,
                          LegendProperties legendProperties,
                          ChartProperties chartProperties,
                          int pixelWidth,
                          int pixelHeight)
        Constructor
        Parameters:
        iPieChartDataSet -
        legendProperties -
        chartProperties - general chart properties
        pixelWidth -
        pixelHeight -
    • Method Detail

      • renderChart

        protected void renderChart()
        Draws the chart
        Specified by:
        renderChart in class Chart
      • render

        static void render​(PieChart2D pieChart2D)
        Implement the method to render the Chart.
        Parameters:
        pieChart2D -
      • toHTML

        public void toHTML​(HTMLGenerator htmlGenerator,
                           java.lang.String imageFileName)
        Enables the testing routines to display the contents of this Object. Override Chart implementation as PieCharts use AreaProperties directly rather than a child.
        Parameters:
        htmlGenerator -
        imageFileName -