Class RenderOptions

  • All Implemented Interfaces:
    ChartConstants
    Direct Known Subclasses:
    AbstractXYChart.RenderOptsImpl

    public abstract class RenderOptions
    extends java.lang.Object
    implements ChartConstants
    RenderOptions is an abstract class that represents the options needed to create a renderer for a collection of "pens" or series that share the same basic render style but have different series specific options such as color. Most importantly, there is also a static function that will take a RenderOptions instance and create a properly configured XYItemRenderer.
    • Constructor Detail

      • RenderOptions

        public RenderOptions​(int style)
    • Method Detail

      • createRenderer

        public static org.jfree.chart.renderer.xy.XYItemRenderer createRenderer​(RenderOptions opt)
      • parseDashPattern

        public static float[] parseDashPattern​(java.lang.String pattern)
                                        throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
      • getSeriesCount

        protected abstract int getSeriesCount()
      • getSeriesColor

        protected abstract java.awt.Color getSeriesColor​(int s)
      • getSeriesDashString

        protected abstract java.lang.String getSeriesDashString​(int s)
      • getSeriesLineWeight

        protected abstract float getSeriesLineWeight​(int s)
      • getSeriesShape

        protected abstract int getSeriesShape​(int s)
      • isSeriesBarLabelsVisible

        protected abstract boolean isSeriesBarLabelsVisible​(int s)
      • isSeriesFillShape

        protected abstract boolean isSeriesFillShape​(int s)
      • getStyle

        public int getStyle()
      • getGapThreshold

        public double getGapThreshold()
      • setGapThreshold

        public void setGapThreshold​(double gapThreshold)
      • getxOffset3D

        public double getxOffset3D()
      • setxOffset3D

        public void setxOffset3D​(double xOffset3D)
      • getyOffset3D

        public double getyOffset3D()
      • setyOffset3D

        public void setyOffset3D​(double yOffset3D)
      • getBarMargin

        public double getBarMargin()
      • setBarMargin

        public void setBarMargin​(double barMargin)