question: private JFreeChart createHistogramChart ( ExampleSet exampleSet ) { JFreeChart chart = ChartFactory . createHistogram ( null , null , null , createHistogramDataset ( exampleSet ) , PlotOrientation . VERTICAL , false , false , false ) ; AbstractAttributeStatisticsModel . setDefaultChartFonts ( chart ) ; chart . setBackgroundPaint ( null ) ; chart . setBackgroundImageAlpha ( 0.0f ) ; XYPlot plot = ( XYPlot ) chart . getPlot ( ) ; plot . setRangeGridlinesVisible ( false ) ; plot . setDomainGridlinesVisible ( false ) ; plot . setOutlineVisible ( false ) ; plot . setRangeZeroBaselineVisible ( false ) ; plot . setDomainZeroBaselineVisible ( false ) ; plot . setBackgroundPaint ( COLOR_INVISIBLE ) ; plot . setBackgroundImageAlpha ( 0.0f ) ; XYBarRenderer renderer = ( XYBarRenderer ) plot . getRenderer ( ) ; renderer . setSeriesPaint ( 0 , AttributeGuiTools . getColorForValueType ( Ontology . NUMERICAL ) ) ; renderer . setBarPainter ( new StandardXYBarPainter ( ) ) ; renderer . setDrawBarOutline ( true ) ; renderer . setShadowVisible ( false ) ; return chart ; }
target:  Creates the histogram chart.