I have a radChartView and also a radGridView. I want to put Chart View on new row of Grid View. How can I perform this ?
here is my Chart View sample data code :
I try this code but a row was added without any value :
here is my Chart View sample data code :
var series =
new
LineSeries {LegendTitle =
"تعداد امانت بر اساس ماه"
, BorderWidth = 2};
series.DataPoints.Add(
new
CategoricalDataPoint(10,
"Jan"
));
series.DataPoints.Add(
new
CategoricalDataPoint(30,
"Feb"
));
series.DataPoints.Add(
new
CategoricalDataPoint(22,
"Mar"
));
series.DataPoints.Add(
new
CategoricalDataPoint(15,
"Apr"
));
series.DataPoints.Add(
new
CategoricalDataPoint(40,
"May"
));
series.DataPoints.Add(
new
CategoricalDataPoint(80,
"Jun"
));
series.DataPoints.Add(
new
CategoricalDataPoint(10,
"Jul"
));
series.DataPoints.Add(
new
CategoricalDataPoint(30,
"Aug"
));
series.DataPoints.Add(
new
CategoricalDataPoint(22,
"Sep"
));
series.DataPoints.Add(
new
CategoricalDataPoint(15,
"Oct"
));
series.DataPoints.Add(
new
CategoricalDataPoint(40,
"Nov"
));
series.DataPoints.Add(
new
CategoricalDataPoint(80,
"Dec"
));
this
.radChartView1.ShowSmartLabels =
true
;
radChartView1.ShowLegend =
true
;
this
.radChartView1.Series.Add(series);
I try this code but a row was added without any value :
this
.radGridView1.Rows.Add(
"Sample"
, radChartView1);