final Number min = (Number) nav.where(NumberAnalyzer.DIMENSION_MEASURE,
NumberAnalyzer.MEASURE_LOWEST_VALUE).get();
final Number max = (Number) nav.where(NumberAnalyzer.DIMENSION_MEASURE,
NumberAnalyzer.MEASURE_HIGHEST_VALUE).get();
final NormalDistributionFunction2D normalDistributionFunction = new NormalDistributionFunction2D(
mean.doubleValue(), standardDeviation.doubleValue());
final XYDataset dataset = DatasetUtilities.sampleFunction2D(normalDistributionFunction,
min.doubleValue(), max.doubleValue(), 100, "Normal");
final JFreeChart chart = ChartFactory.createXYLineChart(