PDA

View Full Version : dotted radar chart not looped



sabbath
27 Jan 2010, 12:07 PM
hi all!

I've created new RadarChart, AreaChart and set:


ChartModel cm = new ChartModel();
AreaChart areaChart = new AreaChart();
areaChart.setWidth(2);
areaChart.setDotStyle(new HollowDot(1));
areaChart.setLineStyle(new LineChart.LineStyle(10, 10));//that gives me dots
areaChart.setFillAlpha(0.1f);
areaChart.setColour(palette.getColor(context));
areaChart.setFillColour(palette.getColor(context));
areaChart.setLoop(true);

//chart in attach not exactly the same but that doesn't matter
for(int i=0; i<10;i++ ){
areaChart.addValues(0.5+ 0.1*i);
}

RadarAxis ra = new RadarAxis();
ra.setSpokeLabels(labels);
ra.setRange(0, 2, 3);
ra.setStroke(1);
ra.setColour(GRID_COLOR);

cm.setRadarAxis(ra);
//chart draw code skipped - same as gxt examples


Check attached not_looped.jpg (http://www.extjs.com/forum/attachment.php?attachmentid=18465&stc=1&d=1264622353) -
lines XI and I - i expect there green dotted line between them.

GXT 2.1.0, reproducable at former ofcgwt versions,
at FF and Chrome, IE7, probably others too.

sabbath
29 Jan 2010, 11:39 AM
why was that post moved from Bug forum to help?