Example #1
0
        private void AppendReportChart(PdfOutput output, string[] xLabels, double[] percentiles, double supportIndex)
        {
            //string chartFilename = "C:\\Code\\site\\Assmnts\\Content\\chart.bmp";
            string chartFilename = "chart.bmp";
            string outpath       = CreateReportChart(chartFilename, xLabels, percentiles, supportIndex);

            if (outpath != null)
            {
                output.appendImage(outpath);
            }
            else
            {
                throw new Exception("Error creating report chart");
            }
        }