类 GraphicFactory


  • public class GraphicFactory
    extends java.lang.Object
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • GraphicFactory

        public GraphicFactory()
    • 方法详细资料

      • createLineString

        public static GraphicCollection createLineString​(Array xdata,
                                                         Array ydata,
                                                         ColorBreak cb)
        Create LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        cb - Color break
        返回:
        LineString graphic
      • createLineString

        public static GraphicCollection createLineString​(Array xdata,
                                                         Array ydata,
                                                         ColorBreak cb,
                                                         boolean iscurve)
        Create LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        cb - Color break
        iscurve - Is curve line or not
        返回:
        LineString graphic
      • createLineString

        public static GraphicCollection createLineString​(Array xdata,
                                                         Array ydata,
                                                         java.util.List<ColorBreak> cbs,
                                                         boolean iscurve)
        Create LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        cbs - Color break list
        iscurve - Is curve line or not
        返回:
        LineString graphic
      • createLineString

        public static GraphicCollection createLineString​(Array xdata,
                                                         Array ydata,
                                                         Array zdata,
                                                         LegendScheme ls,
                                                         boolean iscurve)
        Create LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        ls - Legend scheme
        iscurve - Is curve line or not
        返回:
        LineString graphic
      • createLineString

        public static GraphicCollection createLineString​(XYListDataset data,
                                                         java.util.List<ColorBreak> cbs)
        Create LineString graphic
        参数:
        data - Y data array
        cbs - Color breaks
        返回:
        LineString graphic
      • createLineString3D

        public static GraphicCollection createLineString3D​(Array xdata,
                                                           Array ydata,
                                                           Array zdata,
                                                           ColorBreak cb)
        Create 3D LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cb - Color break
        返回:
        LineString graphic
      • createLineString3D

        public static GraphicCollection createLineString3D​(Array xdata,
                                                           Array ydata,
                                                           Array zdata,
                                                           java.util.List<ColorBreak> cbs)
        Create 3D LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cbs - Color break list
        返回:
        LineString graphic
      • createLineString3D

        public static GraphicCollection createLineString3D​(Array xdata,
                                                           Array ydata,
                                                           Array zdata,
                                                           Array mdata,
                                                           LegendScheme ls)
        Create 3D LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        mdata - M data array
        ls - Legend scheme
        返回:
        LineString graphic
      • createErrorLineString

        public static GraphicCollection createErrorLineString​(Array xdata,
                                                              Array ydata,
                                                              Array xErrorLeft,
                                                              Array xErrorRight,
                                                              Array yErrorBottom,
                                                              Array yErrorUp,
                                                              PolylineBreak cb,
                                                              PolylineBreak ecb,
                                                              float capSize)
        Create error LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        xErrorLeft - X error array - left
        xErrorRight - X error array - right
        yErrorBottom - Y error array - bottom
        yErrorUp - Y error array - up
        cb - Color break
        ecb - Error bar color break
        capSize - The length of the error bar caps.
        返回:
        LineString graphics
      • createErrorLineString_bak1

        public static GraphicCollection createErrorLineString_bak1​(Array xdata,
                                                                   Array ydata,
                                                                   Array xErrorLeft,
                                                                   Array xErrorRight,
                                                                   Array yErrorBottom,
                                                                   Array yErrorUp,
                                                                   ColorBreak cb,
                                                                   ColorBreak ecb,
                                                                   java.lang.Double capSize)
        Create error LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        xErrorLeft - X error array - left
        xErrorRight - X error array - right
        yErrorBottom - Y error array - bottom
        yErrorUp - Y error array - up
        cb - Color break
        ecb - Error bar color break
        capSize - The length of the error bar caps.
        返回:
        LineString graphics
      • createStepLineString

        public static GraphicCollection createStepLineString​(Array xdata,
                                                             Array ydata,
                                                             ColorBreak cb,
                                                             java.lang.String where)
        Create step LineString graphic
        参数:
        xdata - X data array
        ydata - Y data array
        cb - Color break
        where - Where - pre, post, mid
        返回:
        LineString graphic
      • createGraphics

        public static GraphicCollection createGraphics​(Array xdata,
                                                       Array ydata,
                                                       ColorBreak cb)
        Create graphics
        参数:
        xdata - X data array
        ydata - Y data array
        cb - Color break
        返回:
        LineString graphic
      • createPoints

        public static GraphicCollection createPoints​(Array xdata,
                                                     Array ydata,
                                                     java.util.List<ColorBreak> cbs)
        Create graphics
        参数:
        xdata - X data array
        ydata - Y data array
        cbs - Color breaks
        返回:
        LineString graphic
      • createPoints

        public static GraphicCollection createPoints​(Array xdata,
                                                     Array ydata,
                                                     Array zdata,
                                                     LegendScheme ls)
        Create graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        ls - Legend scheme
        返回:
        LineString graphic
      • createPoints3D

        public static GraphicCollection createPoints3D​(Array xdata,
                                                       Array ydata,
                                                       Array zdata,
                                                       ColorBreak cb)
        Create graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cb - Color break
        返回:
        LineString graphic
      • createPoints3D

        public static GraphicCollection createPoints3D​(Array xdata,
                                                       Array ydata,
                                                       Array zdata,
                                                       java.util.List<ColorBreak> cbs)
        Create graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cbs - Color breaks
        返回:
        LineString graphic
      • createPoints3D

        public static GraphicCollection createPoints3D​(Array xdata,
                                                       Array ydata,
                                                       Array zdata,
                                                       Array cdata,
                                                       LegendScheme ls)
        Create 3D point graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cdata - C data array
        ls - Legend scheme
        返回:
        3D point graphics
      • createStems3D

        public static GraphicCollection[] createStems3D​(Array xdata,
                                                        Array ydata,
                                                        Array zdata,
                                                        java.util.List<ColorBreak> cbs,
                                                        PolylineBreak plb,
                                                        double bottom,
                                                        boolean sameStemColor)
        Create 3D stem graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cbs - Color breaks
        plb - Stem line break
        bottom - Stem bottom
        sameStemColor - Same stem line and point color or not
        返回:
        Graphics
      • createStems3D

        public static GraphicCollection[] createStems3D​(Array xdata,
                                                        Array ydata,
                                                        Array zdata,
                                                        Array cdata,
                                                        LegendScheme ls,
                                                        PolylineBreak plb,
                                                        double bottom,
                                                        boolean sameStemColor)
        Create 3D stem graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        cdata - C data array
        ls - Legend scheme
        plb - Stem line break
        bottom - Stem bottom
        sameStemColor - Same stem line and point color or not
        返回:
        3D point graphics
      • createPolygons

        public static GraphicCollection createPolygons​(Array xa,
                                                       Array ya,
                                                       PolygonBreak pgb)
        Add polygons
        参数:
        xa - X coordinate array
        ya - Y coordinate array
        pgb - PolygonBreak
        返回:
        Graphics
      • createWireframe

        public static GraphicCollection createWireframe​(Array xa,
                                                        Array ya,
                                                        Array za,
                                                        PolylineBreak pb)
        Add wireframe polylines
        参数:
        xa - X coordinate array
        ya - Y coordinate array
        za - Z coordinate array
        pb - Polyline break
        返回:
        Graphics
      • createWireframe

        public static GraphicCollection createWireframe​(Array xa,
                                                        Array ya,
                                                        Array za,
                                                        LegendScheme ls)
        Add wireframe polylines
        参数:
        xa - X coordinate array
        ya - Y coordinate array
        za - Z coordinate array
        ls - Legend scheme
        返回:
        Graphics
      • createMeshPolygons

        public static GraphicCollection createMeshPolygons​(Array xa,
                                                           Array ya,
                                                           Array za,
                                                           LegendScheme ls)
        Add mesh polygons
        参数:
        xa - X coordinate array
        ya - Y coordinate array
        za - Z coordinate array
        ls - Legend scheme
        返回:
        Graphics
      • createGraphicsFromLayer

        public static GraphicCollection createGraphicsFromLayer​(VectorLayer layer,
                                                                double offset,
                                                                double xshift)
        Create 3D graphics from a VectorLayer.
        参数:
        layer - The layer
        offset - Offset of z axis.
        xshift - X shift - to shift the grahpics in x direction, normally for map in 180 - 360 degree east
        返回:
        Graphics
      • createRectangle

        public static Graphic createRectangle​(java.util.List<java.lang.Number> pos,
                                              java.util.List<java.lang.Number> curvature,
                                              PolygonBreak pgb)
        Create rectangle graphic
        参数:
        pos - Rectangle position
        curvature - Curvature
        pgb - Polygon break
        返回:
      • createBars

        public static GraphicCollection createBars​(Array xdata,
                                                   Array ydata,
                                                   boolean autoWidth,
                                                   Array widths,
                                                   boolean drawError,
                                                   Array error,
                                                   boolean drawBottom,
                                                   Array bottom,
                                                   java.util.List<BarBreak> bbs)
        Create bar graphics
        参数:
        xdata - X data array
        ydata - Y data array
        autoWidth - Is auto width or not
        widths - Width
        drawError - Is draw error or not
        error - Error
        drawBottom - Is draw bottom or not
        bottom - Bottom
        bbs - Bar breaks
        返回:
        Bar graphics
      • createHBars

        public static GraphicCollection createHBars​(Array ydata,
                                                    Array xdata,
                                                    boolean autoHeight,
                                                    Array heights,
                                                    boolean drawError,
                                                    Array error,
                                                    boolean drawLeft,
                                                    Array left,
                                                    java.util.List<BarBreak> bbs)
        Create horizontal bar graphics
        参数:
        ydata - Y data array
        xdata - X data array
        autoHeight - Is auto height or not
        heights - Heights
        drawError - Is draw error or not
        error - Error
        drawLeft - Is draw left or not
        left - Left
        bbs - Bar breaks
        返回:
        Bar graphics
      • createBars1

        public static GraphicCollection createBars1​(Array xdata,
                                                    Array ydata,
                                                    boolean autoWidth,
                                                    Array widths,
                                                    boolean drawError,
                                                    Array error,
                                                    boolean drawBottom,
                                                    Array bottom,
                                                    java.util.List<BarBreak> bbs)
        Create bar graphics
        参数:
        xdata - X data array
        ydata - Y data array
        autoWidth - Is auto width or not
        widths - Width
        drawError - Is draw error or not
        error - Error
        drawBottom - Is draw bottom or not
        bottom - Bottom
        bbs - Bar breaks
        返回:
        Bar graphics
      • createBars3D

        public static GraphicCollection createBars3D​(Array xdata,
                                                     Array ydata,
                                                     Array zdata,
                                                     boolean autoWidth,
                                                     Array widths,
                                                     Array bottom,
                                                     java.util.List<BarBreak> bbs)
        Create 3D bar graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        autoWidth - Is auto width or not
        widths - Width
        bottom - Bottom
        bbs - Bar breaks
        返回:
        Bar graphics
      • createCylinderBars3D

        public static GraphicCollection createCylinderBars3D​(Array xdata,
                                                             Array ydata,
                                                             Array zdata,
                                                             boolean autoWidth,
                                                             Array widths,
                                                             Array bottom,
                                                             java.util.List<BarBreak> bbs)
        Create 3D cylinder bar graphics
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        autoWidth - Is auto width or not
        widths - Width
        bottom - Bottom
        bbs - Bar breaks
        返回:
        Bar graphics
      • createHistBars

        public static GraphicCollection createHistBars​(Array data,
                                                       int bins,
                                                       java.util.List<BarBreak> bbs)
        Create histogram bar graphics
        参数:
        data - The data array
        bins - Bins number
        bbs - Bar breaks
        返回:
        Bar graphics
      • createHistBars

        public static GraphicCollection createHistBars​(Array data,
                                                       Array bins,
                                                       java.util.List<BarBreak> bbs)
        Create histogram bar graphics
        参数:
        data - The data array
        bins - Bins array
        bbs - Bar breaks
        返回:
        Bar graphics
      • createHistBars

        public static GraphicCollection createHistBars​(Array data,
                                                       Array xdata,
                                                       Array ydata,
                                                       java.util.List<BarBreak> bbs)
        Create histogram bar graphics
        参数:
        data - The data array
        xdata - X bins data
        ydata - Y bins data
        bbs - Bar breaks
        返回:
        Bar graphics
      • createStems

        public static GraphicCollection createStems​(Array xdata,
                                                    Array ydata,
                                                    PolylineBreak plb,
                                                    PointBreak pb,
                                                    PolylineBreak bplb,
                                                    double bottom)
        Create stem graphics
        参数:
        xdata - X data array
        ydata - Y data array
        plb - Polyline break
        pb - Point break
        bplb - Baseline break
        bottom - Bottom
        返回:
        Bar graphics
      • createImage

        public static Graphic createImage​(java.awt.image.BufferedImage image)
        Create an image graphic
        参数:
        image - The image
        返回:
        Image graphic
      • createImage

        public static Graphic createImage​(Array gdata,
                                          java.util.List<java.lang.Number> extent)
        Create image
        参数:
        gdata - data array
        extent - Extent
        返回:
        Image graphic
      • createImage

        public static Graphic createImage​(java.util.List<Array> data,
                                          java.util.List<java.lang.Number> extent)
        Create image by RGB data array
        参数:
        data - RGB data array list
        extent - Exent
        返回:
        Image graphic
      • createImage

        public static GraphicCollection createImage​(Array x,
                                                    Array y,
                                                    java.util.List<Array> data,
                                                    double offset,
                                                    java.lang.String zdir,
                                                    java.lang.String interpolation)
        Create image by RGB data array
        参数:
        x - X data array
        y - Y data array
        data - RGB data array list
        offset - Offset in z axis
        zdir - Z direction - x, y or z
        interpolation - Interpolation
        返回:
        Graphics
      • createImage

        public static Graphic createImage​(Array gdata,
                                          LegendScheme ls,
                                          java.util.List<java.lang.Number> extent)
        Create image
        参数:
        gdata - Grid data array
        ls - Legend scheme
        extent - Extent
        返回:
        Image graphic
      • createImage

        public static Graphic createImage​(GridArray gdata,
                                          LegendScheme ls)
        Create image
        参数:
        gdata - Grid data array
        ls - Legend scheme
        返回:
        Image graphic
      • createImage

        public static Graphic createImage​(GridArray gdata,
                                          LegendScheme ls,
                                          java.util.List<java.lang.Number> extent)
        Create image
        参数:
        gdata - Grid data array
        ls - Legend scheme
        extent - Extent
        返回:
        Image graphic
      • createImage

        public static GraphicCollection createImage​(GridArray gdata,
                                                    LegendScheme ls,
                                                    double offset,
                                                    java.lang.String zdir,
                                                    java.util.List<java.lang.Number> sePoint,
                                                    java.lang.String interpolation)
        Create image
        参数:
        gdata - Grid data array
        ls - Legend scheme
        offset - Offset of z axis
        zdir - Z direction - x, y or z
        sePoint - Start and end points [xstart, ystart, xend, yend]
        interpolation - Interpolation
        返回:
        Graphics
      • createImage

        public static GraphicCollection createImage​(ImageLayer layer,
                                                    double offset,
                                                    double xshift,
                                                    java.lang.String interpolation)
        Create image
        参数:
        layer - Image layer
        offset - Offset of z axis
        xshift - X shift - to shift the grahpics in x direction, normally for map in 180 - 360 degree east
        interpolation - Interpolation
        返回:
        Graphics
      • createContourLines

        public static GraphicCollection createContourLines​(GridData gridData,
                                                           LegendScheme ls,
                                                           boolean isSmooth)
        Create contour lines
        参数:
        gridData - Grid data
        ls - Legend scheme
        isSmooth - Is smooth or not
        返回:
        Contour lines
      • createContourLines

        public static GraphicCollection createContourLines​(GridData gridData,
                                                           double offset,
                                                           java.lang.String zdir,
                                                           LegendScheme ls,
                                                           boolean isSmooth)
        Create contour lines
        参数:
        gridData - Grid data
        offset - Offset in z direction
        zdir - Z direction - x, y or z
        ls - Legend scheme
        isSmooth - Is smooth or not
        返回:
        Contour lines
      • createContourLines

        public static GraphicCollection createContourLines​(GridData gridData,
                                                           double offset,
                                                           java.lang.String zdir,
                                                           LegendScheme ls,
                                                           boolean isSmooth,
                                                           java.util.List<java.lang.Number> sePoint)
        Create contour lines
        参数:
        gridData - Grid data
        offset - Offset in z direction
        zdir - Z direction - x, y or z
        ls - Legend scheme
        isSmooth - Is smooth or not
        sePoint - Start and end points [xstart, ystart, xend, yend]
        返回:
        Contour lines
      • createContourPolygons

        public static GraphicCollection createContourPolygons​(GridData gridData,
                                                              LegendScheme ls,
                                                              boolean isSmooth)
        Create contour polygons
        参数:
        gridData - Grid data
        ls - Legend scheme
        isSmooth - Is smooth or not
        返回:
        Contour polygons
      • createContourPolygons

        public static GraphicCollection createContourPolygons​(GridData gridData,
                                                              double offset,
                                                              java.lang.String zdir,
                                                              LegendScheme ls,
                                                              boolean isSmooth)
        Create 3D contour polygons
        参数:
        gridData - Grid data
        offset - Offset of z axis
        zdir - Z direction - x, y or z
        ls - Legend scheme
        isSmooth - Is smooth or not
        返回:
        Contour polygons
      • createContourPolygons

        public static GraphicCollection createContourPolygons​(GridData gridData,
                                                              double offset,
                                                              java.lang.String zdir,
                                                              LegendScheme ls,
                                                              boolean isSmooth,
                                                              java.util.List<java.lang.Number> sePoint)
        Create 3D contour polygons
        参数:
        gridData - Grid data
        offset - Offset of z axis
        zdir - Z direction - x, y or z
        ls - Legend scheme
        isSmooth - Is smooth or not
        sePoint - Start and end points [xstart, ystart, xend, yend]
        返回:
        Contour polygons
      • createPColorPolygons

        public static GraphicCollection createPColorPolygons​(Array x_s,
                                                             Array y_s,
                                                             Array a,
                                                             LegendScheme ls)
        Create pseudocolor polygons
        参数:
        x_s - scatter X array - 2D
        y_s - scatter Y array - 2D
        a - scatter value array - 2D
        ls - Legend scheme
        返回:
        Mesh polygon layer
      • createGridPolygons

        public static GraphicCollection createGridPolygons​(Array x_s,
                                                           Array y_s,
                                                           Array a,
                                                           LegendScheme ls)
        Create grid polygons
        参数:
        x_s - X array - 1D
        y_s - Y array - 1D
        a - scatter value array - 2D
        ls - Legend scheme
        返回:
        Grid polygons
      • createFillBetweenPolygons

        public static GraphicCollection createFillBetweenPolygons​(Array xdata,
                                                                  Array y1data,
                                                                  Array y2data,
                                                                  Array where,
                                                                  PolygonBreak pb)
        Create fill between polygons
        参数:
        xdata - X data array
        y1data - Y1 data array
        y2data - Y2 data array
        where - Where data array
        pb - Polygon break
        返回:
        GraphicCollection
      • createFillBetweenPolygonsX

        public static GraphicCollection createFillBetweenPolygonsX​(Array ydata,
                                                                   Array x1data,
                                                                   Array x2data,
                                                                   Array where,
                                                                   PolygonBreak pb)
        Create fill between polygons - X direction
        参数:
        ydata - Y data array
        x1data - X1 data array
        x2data - X2 data array
        where - Where data array
        pb - Polygon break
        返回:
        GraphicCollection
      • createFillBetweenPolygons

        public static GraphicCollection createFillBetweenPolygons​(Array xdata,
                                                                  Array y1data,
                                                                  Array y2data,
                                                                  Array where,
                                                                  PolygonBreak pb,
                                                                  double offset,
                                                                  java.lang.String zdir)
        Create fill between polygons
        参数:
        xdata - X data array
        y1data - Y1 data array
        y2data - Y2 data array
        where - Where data array
        pb - Polygon break
        offset - Offset
        zdir - Zdir
        返回:
        GraphicCollection
      • createFillBetweenPolygons

        public static GraphicCollection createFillBetweenPolygons​(Array xdata,
                                                                  Array ydata,
                                                                  Array y1data,
                                                                  Array y2data,
                                                                  Array where,
                                                                  PolygonBreak pb,
                                                                  double offset,
                                                                  java.lang.String zdir)
        Create fill between polygons
        参数:
        xdata - X data array
        ydata - Y data array
        y1data - Y1 data array
        y2data - Y2 data array
        where - Where data array
        pb - Polygon break
        offset - Offset
        zdir - Zdir
        返回:
        GraphicCollection
      • createBarbs

        public static GraphicCollection createBarbs​(Array xdata,
                                                    Array ydata,
                                                    Array udata,
                                                    Array vdata,
                                                    Array cdata,
                                                    LegendScheme ls,
                                                    boolean isUV)
        Create wind barbs
        参数:
        xdata - X data array
        ydata - Y data array
        udata - U/WindDirection data array
        vdata - V/WindSpeed data array
        cdata - Colored data array
        ls - Legend scheme
        isUV - Is U/V or not
        返回:
        GraphicCollection
      • createArrow

        public static Graphic createArrow​(double x,
                                          double y,
                                          double dx,
                                          double dy,
                                          ArrowPolygonBreak ab)
        Create arrow polygon
        参数:
        x - X coordinate
        y - Y coordinate
        dx - The length of arrow along x direction
        dy - The length of arrow along y direction
        ab - The arrow polygon break
        返回:
        Arrow polygon graphic
      • createArrowLine

        public static Graphic createArrowLine​(double x,
                                              double y,
                                              double dx,
                                              double dy,
                                              ArrowLineBreak ab)
        Create arrow line
        参数:
        x - X coordinate
        y - Y coordinate
        dx - The length of arrow along x direction
        dy - The length of arrow along y direction
        ab - The arrow line break
        返回:
        Arrow line graphic
      • createArrowLine

        public static Graphic createArrowLine​(Array x,
                                              Array y,
                                              ArrowLineBreak ab,
                                              boolean iscurve)
        Create arrow line
        参数:
        x - X coordinates
        y - Y coordinates
        ab - The arrow line break
        iscurve - Is curve or not
        返回:
        Arrow line graphic
      • createArrows

        public static GraphicCollection createArrows​(Array xdata,
                                                     Array ydata,
                                                     Array udata,
                                                     Array vdata,
                                                     Array cdata,
                                                     LegendScheme ls,
                                                     boolean isUV)
        Create wind arrows
        参数:
        xdata - X data array
        ydata - Y data array
        udata - U/WindDirection data array
        vdata - V/WindSpeed data array
        cdata - Colored data array
        ls - Legend scheme
        isUV - Is U/V or not
        返回:
        GraphicCollection
      • createArrows3D

        public static GraphicCollection createArrows3D​(Array xdata,
                                                       Array ydata,
                                                       Array zdata,
                                                       Array udata,
                                                       Array vdata,
                                                       Array wdata,
                                                       float length,
                                                       Array cdata,
                                                       LegendScheme ls)
        Create wind arrows
        参数:
        xdata - X data array
        ydata - Y data array
        zdata - Z data array
        udata - U data array
        vdata - V data array
        wdata - W data array
        length - The length of each wind arrow
        cdata - Colored data array
        ls - Legend scheme
        返回:
        GraphicCollection
      • createStreamlines

        public static GraphicCollection createStreamlines​(Array xdata,
                                                          Array ydata,
                                                          Array udata,
                                                          Array vdata,
                                                          int density,
                                                          StreamlineBreak slb,
                                                          boolean isUV)
        Create stream line
        参数:
        xdata - X data array
        ydata - Y data array
        udata - U/WindDirection data array
        vdata - V/WindSpeed data array
        density - Streamline density
        slb - Streamline break
        isUV - Is U/V or not
        返回:
        GraphicCollection
      • createPieArcs

        public static GraphicCollection[] createPieArcs​(Array xdata,
                                                        java.util.List<java.awt.Color> colors,
                                                        java.util.List<java.lang.String> labels,
                                                        float startAngle,
                                                        java.util.List<java.lang.Number> explode,
                                                        java.awt.Font labelFont,
                                                        java.awt.Color labelColor,
                                                        float labelDis,
                                                        java.lang.String autopct,
                                                        float pctDis,
                                                        float radius,
                                                        java.util.HashMap wedgeprops)
        Create pie arc polygons
        参数:
        xdata - X data array
        colors - Colors
        labels - Labels
        startAngle - Start angle
        explode - Explode
        labelFont - Label font
        labelColor - Label color
        labelDis - Label distance
        autopct - pct format
        pctDis - pct distance
        radius - Pie radius
        wedgeprops - Wedge properties
        返回:
        GraphicCollection
      • createBox

        public static GraphicCollection createBox​(java.util.List<Array> xdata,
                                                  java.util.List<java.lang.Number> positions,
                                                  java.util.List<java.lang.Number> widths,
                                                  boolean showcaps,
                                                  boolean showfliers,
                                                  boolean showmeans,
                                                  boolean showmedians,
                                                  PolygonBreak boxBreak,
                                                  ColorBreak medianBreak,
                                                  PolylineBreak whiskerBreak,
                                                  PolylineBreak capBreak,
                                                  ColorBreak meanBreak,
                                                  PointBreak flierBreak)
        Create box graphics
        参数:
        xdata - X data array list
        positions - Box position list
        widths - Box width list
        showcaps - Show caps or not
        showfliers - Show fliers or not
        showmeans - Show means or not
        showmedians - Show medians or not
        boxBreak - Box polygon break
        medianBreak - Meandian line break
        whiskerBreak - Whisker line break
        capBreak - Whisker cap line break
        meanBreak - Mean point break
        flierBreak - Flier point break
        返回:
        GraphicCollection
      • polarToCartesian

        public static void polarToCartesian​(GraphicCollection graphics)
        Convert graphics from polar to cartesian coordinate
        参数:
        graphics - Graphics