Rev 268 | Rev 705 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 268 | Rev 274 | ||
|---|---|---|---|
| Line 306... | Line 306... | ||
| 306 | dados.adicionarDados(valorParaFormatar.intValue(), "rgba(75, 192, 192, 0.2)", "rgb(75, 192, 192)", "" + descricaoLinha); |
306 | dados.adicionarDados(valorParaFormatar.intValue(), "rgba(75, 192, 192, 0.2)", "rgb(75, 192, 192)", "" + descricaoLinha); |
| 307 | }
|
307 | }
|
| 308 | 308 | ||
| 309 | graficoDTO.setDados(dados); |
309 | graficoDTO.setDados(dados); |
| 310 | graficoDTO.setTitulo("PERCENTUAIS DA META PELOS ÚLTIMOS MESES"); |
310 | graficoDTO.setTitulo("PERCENTUAIS DA META PELOS ÚLTIMOS MESES"); |
| - | 311 | }
|
|
| - | 312 | ||
| - | 313 | if (VerificadorUtil.estaNulo(graficoDTO.getDados())) { |
|
| - | 314 | return null; |
|
| 311 | }
|
315 | }
|
| 312 | 316 | ||
| 313 | BarChartDataSet barDataSet = new BarChartDataSet(); |
317 | BarChartDataSet barDataSet = new BarChartDataSet(); |
| 314 | barDataSet.setLabel(""); |
318 | barDataSet.setLabel(""); |
| 315 | barDataSet.setData(graficoDTO.getDados().getValores()); |
319 | barDataSet.setData(graficoDTO.getDados().getValores()); |