Example #1
0
        private void createGraph()
        {
            bool lazy = lazyCheck();

            if (!lazy || gdef.printStatementCount() != 0)
            {
                fetchData();
                resolveTextElements();
                if (gdef.shouldPlot() && !lazy)
                {
                    calculatePlotValues();
                    findMinMaxValues();
                    identifySiUnit();
                    expandValueRange();
                    removeOutOfRangeRules();
                    initializeLimits();
                    placeLegends();
                    createImageWorker();
                    drawBackground();
                    drawAxis();
                    drawData();
                    drawGrid();
                    drawText();
                    drawLegend();
                    drawRules();
                    gator();
                    drawOverlay();
                    saveImage();
                }
            }
            collectInfo();
        }