Hi,
I am testing some controls including the polar chart, I load some data from a database into a DataTable like this:
And the result is something like the attached image.
I would like to add tooltips to each point to see the values, does anyone knows how can I do this?
Thanks,
Alberto
I am testing some controls including the polar chart, I load some data from a database into a DataTable like this:
DataTable dtData =
new
DataTable();
dtData.Columns.Add(
new
DataColumn(
"Name"
,
typeof
(
string
)));
dtData.Columns.Add(
new
DataColumn(
"Value"
,
typeof
(
double
)));
DataRow drCost;
RadarLineSeries rs = new RadarLineSeries();
foreach (DataRow dr in dtData.Rows)
{
CategoricalDataPoint dp = new CategoricalDataPoint();
dp.Category = dr["Name"].ToString();
dp.Value = double.Parse(dr["Value"].ToString());
rs.DataPoints.Add(dp);
}
rs.Stroke = new SolidColorBrush(Color.FromRgb(37, 160, 219));
RadarChartDemo.Series.Add(rs);
And the result is something like the attached image.
I would like to add tooltips to each point to see the values, does anyone knows how can I do this?
Thanks,
Alberto