Is it possible to generate the pie chart by comparing different columns of a DataTable
?
That is, I have a DataTable
with 2 columns of values and wanted to create a pie chart for each line of DataTable
, thus comparing the two values.
DataTable
:
Descricao | Val1 | Val2
xxxxxxxx | 9999 | 8888
yyyyyyyy | 1111 | 2222
I'm using Microsoft Chart Control , which is native to .NET.