Search found 2 matches

by brownmb
Wed Dec 02, 2009 1:46 pm
Forum: JCommon
Topic: Gradient fill bar chart with default colours
Replies: 1
Views: 20390

Re: Gradient fill bar chart with default colours

...Update. Ive managed to achieve what i wanted with this code snipet; CategoryPlot plot1 = (CategoryPlot) chart1.getPlot(); BarRenderer renderer1 = (BarRenderer) plot1.getRenderer(); renderer1.setDefaultBarPainter(new StandardBarPainter()); renderer1.setBarPainter(new StandardBarPainter()); rendere...
by brownmb
Wed Dec 02, 2009 12:14 pm
Forum: JCommon
Topic: Gradient fill bar chart with default colours
Replies: 1
Views: 20390

Gradient fill bar chart with default colours

Hi I want to copy the chart from page 23 of the developer guide (Figure 2.4). The demo source code produces a chart with the white glow line. I want vertical gradients and can see there are method to do this, but they all require the colours to be defined. I.e. i want default colours but with dark t...