1. JFreeChart BarChart -> NO gradient stackoverflow.commy bar chart is always drawn with a gradient color by default. I just want a simple color without any styled effects. Can anyone help ? Code:
|
2. How to use a gradient color in a bar chart? jfree.orgGradientPaint gp0 = new GradientPaint( 50.0f, 0.0f, Color.RED, 500.0f, 0.0f, Color.GREEN,false ); ganttRenderer.setSeriesPaint(0, gp0); |
3. How to remove gradient from bars? jfree.orgHi, I have searched the API and forum but cannot find the function to remove the gradient from a bar renderer. I have tried to set the paint, the fillpaint, the gradient transformer (to null), but the gradient remains. All I want is a single color bar, with see-through effect (using series paint with alpha in the color), without the reflection ... |
4. Problem: Gradient is not working in bars jfree.org |