Class Chart3DPlot

    • Field Detail

      • DEFAULT_STYLE

        public static final Chart3DStyle DEFAULT_STYLE
        Default chart style with this plot.
      • DEFAULT_WALL_COLOR

        public static final int DEFAULT_WALL_COLOR
        The default color of both walls.
      • DEFAULT_BASE_COLOR

        public static final int DEFAULT_BASE_COLOR
        The default base color.
    • Constructor Detail

      • Chart3DPlot

        public Chart3DPlot()
        Creates a 3D plot with default properties.
        Since:
        8.0
      • Chart3DPlot

        public Chart3DPlot​(Chart3DStyle style)
        Creates a 3D plot with defined chart style. Initializes all properties with default values.
        Parameters:
        style - the chart style (null not permitted)
        Since:
        8.0
        See Also:
        Chart3DStyle
    • Method Detail

      • getWallBackColor

        public int getWallBackColor()
        Returns the ABGR value representing the wall background color.
        Returns:
        the color.
        Since:
        8.0
        See Also:
        setWallBackColor(int), ColorUtils.toJavaColor(int)
      • setWallBackColor

        public void setWallBackColor​(int wallBackgroundColor)
        Sets the ABGR components of the walls background paint.
        Parameters:
        wallBackgroundColor - the color
        Since:
        8.0
        See Also:
        getWallBackColor(), ColorUtils.toCcColor(Color)
      • getSeriesAxis

        public BaseAxis getSeriesAxis()
        Returns the series axis. The series axis is the left axis on bottom of chart.
        Returns:
        the seriesAxis
        Since:
        8.0
        See Also:
        setSeriesAxis(BaseAxis), BaseAxis
      • setSeriesAxis

        public void setSeriesAxis​(BaseAxis seriesAxis)
        Sets the series axis. The series axis is the left axis on bottom of chart.
        Parameters:
        seriesAxis - the series axis (null not permitted)
        Since:
        8.0
        See Also:
        getSeriesAxis(), BaseAxis
      • setStyle

        public void setStyle​(Chart3DStyle style)
        Sets the chart style of this plot.
        Parameters:
        style - the style (null not permitted)
        Since:
        8.0
        See Also:
        getStyle(), Chart3DStyle
      • getViewParams

        public com.inet.chart3d.geom.ViewParams getViewParams()
        Returns the 3D viewing parameters for this chart.
        Returns:
        the view parameters.
        Since:
        8.0
        See Also:
        setViewParams(ViewParams), ViewParams
      • setViewParams

        public void setViewParams​(com.inet.chart3d.geom.ViewParams viewParams)
        Sets the 3D viewing parameters for this chart.
        Parameters:
        viewParams - the viewing parameters (null not permitted)
        Since:
        8.0
        See Also:
        getViewParams(), ViewParams
      • refreshAutoTitles

        public void refreshAutoTitles​(Chart2 chart)
        Reads out the data column names from dataset and refreshes the chart labels. Please use this function to refresh the chart labels if the data was be changed.
        Specified by:
        refreshAutoTitles in interface ChartPlot
        Overrides:
        refreshAutoTitles in class StandardPlot
        Parameters:
        chart - the chart
      • getSubProperties

        protected java.lang.StringBuilder getSubProperties​(int depth)
        Returns the serialized simple properties of subclasses.
        Overrides:
        getSubProperties in class StandardPlot
        Parameters:
        depth - the depth of XML indent
        Returns:
        the properties.
      • saveSubProperties

        protected void saveSubProperties​(java.io.PrintWriter out,
                                         int depth)
        Writes the intern properties to output. Overwrites this to save intern properties direct to PrintWriter without building a StringBuilder.
        Overrides:
        saveSubProperties in class StandardPlot
        Parameters:
        out - the output
        depth - the depth of XML indent
      • readProperties

        public void readProperties​(org.w3c.dom.Element element,
                                   Chart2 chart)
        Reads the chart properties from the DOMParser Element.
        Specified by:
        readProperties in interface ChartPlot
        Overrides:
        readProperties in class StandardPlot
        Parameters:
        element - the DOMParser Element
        chart - the chart