Class ContourLayer

    • Constructor Detail

      • ContourLayer

        public ContourLayer​(String dataFieldName,
                            ScaleRange scale,
                            boolean autoscaleEnabled,
                            double numberOfContours,
                            Color contourLineColour,
                            String contourPalette,
                            int contourLineWidth,
                            ContourLayer.ContourLineStyle contourLineStyle,
                            boolean labelEnabled)
        Parameters:
        dataFieldName - The data field to plot
        scale - The ScaleRange spanned by the contours
        autoscaleEnabled - Whether to auto-scale the data
        numberOfContours - The number of contours to plot
        contourLineColour - The colour to plot contours. This defaults to black, and will be ignored if a palette is specified.
        contourPalette - The name of the colour palette to use. This can be null, in which case all contours have the same colour.
        contourLineWidth - The width, in pixels, to draw contour lines
        contourLineStyle - The ContourLayer.ContourLineStyle in which to plot contours.
        labelEnabled - Whether or not to add value labels to contour lines.