Rev 705 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 705 | Rev 706 | ||
|---|---|---|---|
| Line 411... | Line 411... | ||
| 411 | dataFP.setLabels(graficoDTO.getDados().getMarcadores()); |
411 | dataFP.setLabels(graficoDTO.getDados().getMarcadores()); |
| 412 | 412 | ||
| 413 | GraficoPizzaDTO grafico = new GraficoPizzaDTO(); |
413 | GraficoPizzaDTO grafico = new GraficoPizzaDTO(); |
| 414 | PieChartModel graficoFormasPagamento = new PieChartModel(); |
414 | PieChartModel graficoFormasPagamento = new PieChartModel(); |
| 415 | graficoFormasPagamento.setData(dataFP); |
415 | graficoFormasPagamento.setData(dataFP); |
| 416 | - | ||
| 417 | // CONFIGURACOES
|
- | |
| 418 | // graficoFormasPagamento.setLegendPosition("e"); // l = left, e = right
|
- | |
| 419 | // graficoFormasPagamento.setShowDataLabels(false);
|
- | |
| 420 | - | ||
| 421 | grafico.setGraficoPizza(graficoFormasPagamento); |
416 | grafico.setGraficoPizza(graficoFormasPagamento); |
| 422 | return grafico; |
417 | return grafico; |
| 423 | }
|
418 | }
|
| 424 | 419 | ||
| 425 | @Override |
420 | @Override |