How to handle dynamic data in Piechart

Sep 3, 2008 at 1:47 PM
Hi
Great control. :) .. Saved my time :) ..
I`m facing a problem for piechart. If only one value is coming for " _chartYValues"  then control displays a single line instead of circle.


private ChartModel _loadChartModel()
{
// the name of the each group
string[] _groupLabels = { "G1" };
// the name of each series.
string[] _seriesLabels = { "S1"};

double[,] _chartYValues = { { 100}

double[,] _chartXValues = { { 6.1, 6.3, 6.5 } };