yunjianwu / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

why this straight line comes in chart #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i am using following code?

int length = titles.length;
int[] colors = new int[] { lineColor };
PointStyle[] styles = new PointStyle[] { PointStyle.POINT };
XYMultipleSeriesRenderer renderer = buildRenderer(colors, styles);
setChartSettings(renderer, "Correlation", "Dates", "Rate",minD.getTime(), 
maxD.getTime(), minV, maxV, Color.GRAYColor.LTGRAY);
renderer.setXLabels(10);
renderer.setYLabels(10);        
renderer.setZoomButtonsVisible(true);
length = renderer.getSeriesRendererCount();
for (int i = 0; i < length; i++) {
    XYSeriesRenderer seriesRenderer = (XYSeriesRenderer) renderer
                    .getSeriesRendererAt(i);

        }
ChartFactory.getTimeChartView(context,buildDateDataset(titles, dates, values), 
renderer,"dd/MM/yyyy");

Original issue reported on code.google.com by Sawan.Da...@alphabricks.com on 20 Oct 2011 at 5:58

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 10 Dec 2011 at 3:17