i need to Setting name and value(Price) set to ItemLabel of Doughnut Chart
example at my screenshot
this my code
Copy_of_317544_DoghnutChart.zip
sampleData.Add(
new
DashboardChart(
"AGRO"
, 1, 12.5));
sampleData.Add(
new
DashboardChart(
"CONSUMP"
, 1, 12.5));
sampleData.Add(
new
DashboardChart(
"FINCIAL"
, 2, 12.5));
sampleData.Add(
new
DashboardChart(
"INDUS"
, 2, 12.5));
sampleData.Add(
new
DashboardChart(
"PROPCON"
, 3, 12.5));
sampleData.Add(
new
DashboardChart(
"RESOURC"
, 3, 12.5));
sampleData.Add(
new
DashboardChart(
"SERVICE"
, 4, 12.5));
sampleData.Add(
new
DashboardChart(
"TECH"
, 4, 12.5));
public
class
DashboardChart
{
public
string
Name {
get
;
set
; }
public
int
ID {
get
;
set
; }
public
double
PercentChange {
get
;
set
; }
public
DashboardChart(
string
name,
int
id,
double
price)
{
Name = name;
ID = id;
PercentChange = price;
}
}
example at my screenshot
this my code
Copy_of_317544_DoghnutChart.zip