Class ErrorDataSetRenderer

    • Constructor Detail

      • ErrorDataSetRenderer

        public ErrorDataSetRenderer()
        Creates new ErrorDataSetRenderer.
      • ErrorDataSetRenderer

        public ErrorDataSetRenderer​(int dashSize)
        Creates new ErrorDataSetRenderer.
        Parameters:
        dashSize - initial size (top/bottom cap) on top of the error bars
    • Method Detail

      • drawLegendSymbol

        public javafx.scene.canvas.Canvas drawLegendSymbol​(de.gsi.dataset.DataSet dataSet,
                                                           int dsIndex,
                                                           int width,
                                                           int height)
        Specified by:
        drawLegendSymbol in interface Renderer
        Parameters:
        dataSet - for which the representative icon should be generated
        dsIndex - index within renderer set
        width - requested width of the returning Canvas
        height - requested height of the returning Canvas
        Returns:
        a graphical icon representation of the given data sets
      • getMarker

        public Marker getMarker()
        Returns the marker used by this renderer.
        Returns:
        the marker to be drawn on the data points
      • render

        public java.util.List<de.gsi.dataset.DataSet> render​(javafx.scene.canvas.GraphicsContext gc,
                                                             Chart chart,
                                                             int dataSetOffset,
                                                             javafx.collections.ObservableList<de.gsi.dataset.DataSet> datasets)
        Specified by:
        render in interface Renderer
        Parameters:
        gc - the Canvas' GraphicsContext the renderer should draw upon
        chart - the corresponding chart
        dataSetOffset - global offset of the last drawn DataSet
        datasets - list of globally (ie. in Chart) stored DataSets
        Returns:
        List of drawn DataSets (N.B. return '0' in case Renderer.showInLegend() is false)
      • setMarker

        public void setMarker​(Marker marker)
        Replaces marker used by this renderer.
        Parameters:
        marker - the marker to be drawn on the data points
      • drawBars

        protected void drawBars​(javafx.scene.canvas.GraphicsContext gc,
                                de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawBubbles

        protected void drawBubbles​(javafx.scene.canvas.GraphicsContext gc,
                                   de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawDefaultNoErrors

        protected void drawDefaultNoErrors​(javafx.scene.canvas.GraphicsContext gc,
                                           de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawErrorBars

        protected void drawErrorBars​(javafx.scene.canvas.GraphicsContext gc,
                                     de.gsi.chart.renderer.spi.CachedDataPoints lCacheP)
        Parameters:
        gc - the graphics context from the Canvas parent
        lCacheP - reference to local cached data point object
      • drawErrorSurface

        protected void drawErrorSurface​(javafx.scene.canvas.GraphicsContext gc,
                                        de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawErrorSurfaceNaNCompatible

        protected void drawErrorSurfaceNaNCompatible​(javafx.scene.canvas.GraphicsContext gc,
                                                     de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        NaN compatible algorithm
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawMarker

        protected void drawMarker​(javafx.scene.canvas.GraphicsContext gc,
                                  de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • drawPolyLine

        protected void drawPolyLine​(javafx.scene.canvas.GraphicsContext gc,
                                    de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
        Parameters:
        gc - the graphics context from the Canvas parent
        localCachedPoints - reference to local cached data point object
      • getDefaultMarker

        protected de.gsi.dataset.spi.utils.Triple<Marker,​javafx.scene.paint.Color,​java.lang.Double> getDefaultMarker​(java.lang.String dataSetStyle)
      • drawPolyLineArea

        protected static void drawPolyLineArea​(javafx.scene.canvas.GraphicsContext gc,
                                               de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
      • drawPolyLineHistogram

        protected static void drawPolyLineHistogram​(javafx.scene.canvas.GraphicsContext gc,
                                                    de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
      • drawPolyLineHistogramBezier

        protected static void drawPolyLineHistogramBezier​(javafx.scene.canvas.GraphicsContext gc,
                                                          de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
      • drawPolyLineHistogramFilled

        protected static void drawPolyLineHistogramFilled​(javafx.scene.canvas.GraphicsContext gc,
                                                          de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
      • drawPolyLineLine

        protected static void drawPolyLineLine​(javafx.scene.canvas.GraphicsContext gc,
                                               de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)
      • drawPolyLineStairCase

        protected static void drawPolyLineStairCase​(javafx.scene.canvas.GraphicsContext gc,
                                                    de.gsi.chart.renderer.spi.CachedDataPoints localCachedPoints)