// tag::drawBarChart[]
 public static void DrawBarChart(Graphics g,
     CategoryItemRendererState state,
     Rectangle graphArea,
     CategoryPlot plot,
     CategoryAxis domainAxis,
     ValueAxis rangeAxis,
     CategoryDataset dataset) {
     // ..
 }
        // end::drawBarChart[]

        // tag::drawBarChartDefault[]
        public static void DrawBarChart(Graphics g, CategoryDataset dataset) {
            Charts.DrawBarChart(g,
                CategoryItemRendererState.DEFAULT,
                new Rectangle(new Point(0, 0), 100, 100),
                CategoryPlot.DEFAULT,
                CategoryAxis.DEFAULT,
                ValueAxis.DEFAULT,
                dataset);
        }
 // tag::drawBarChart[]
 public static void DrawBarChart(Graphics g,
                                 CategoryItemRendererState state,
                                 Rectangle graphArea,
                                 CategoryPlot plot,
                                 CategoryAxis domainAxis,
                                 ValueAxis rangeAxis,
                                 CategoryDataset dataset)
 {
     // ..
 }
        // end::drawBarChart[]

        // tag::drawBarChartDefault[]
        public static void DrawBarChart(Graphics g, CategoryDataset dataset)
        {
            Charts.DrawBarChart(g,
                                CategoryItemRendererState.DEFAULT,
                                new Rectangle(new Point(0, 0), 100, 100),
                                CategoryPlot.DEFAULT,
                                CategoryAxis.DEFAULT,
                                ValueAxis.DEFAULT,
                                dataset);
        }