JFreeChart BarChart -> SEM gradiente
gráfico de barras @my é sempre desenhado com uma cor gradiente por padrão. Eu só quero uma cor simples sem efeitos estilizados.
lguém pode ajuda
Código
final JFreeChart chart = ChartFactory.createBarChart(
"", // chart title
xLabel, // domain axis label
yLabel, // range axis label
dataset, // data
PlotOrientation.VERTICAL, // orientation
true, // include legend
false, // tooltips?
false // URLs?
);
final CategoryPlot plot = chart.getCategoryPlot();
// SOMETHING HAS TO BE DONE HERE
showChart(chart); // Simply shows the chart in a new window
Obrigad