Hello all. I am very new to Telerik charts and have decided to create my first pie chart and as a result I am without a lot of hair I started with. I can not for the life of me figure out how to get this pie chart to show actual numbers on it. I would have thought that numbers on a pie chart would be rather elementary but no matter what I change or set, all I get is the item name but not the actual number the slice of pie represents. Can anyone please, please give me a clue??
Please see attached picture for example of what I am talking about.
Thank you in advance!
Malcolm
Hi,
I have used HTML TextBox in my Report and i have given the values for HTML TextBox like the below format are as follows,
='| | |'
Senario:
In the HTML TextBox, if i give values upto 99 characters it works fine and if i give more than 99 characters then getting Error which i have attached(ErrorMesage.png).
Solution:
Error should not occur If i give any no of characters in HTML TextBox(htmltextbox_report.png).
foreach (var a in b){ ChartSeriesItem objItem = new ChartSeriesItem(); objItem.YValue = 1; objItem.Name = "test"; objItem.ActiveRegion.Click += new RegionClickEventHandler(ActiveRegion_Click); objItem.ActiveRegion.Attributes = "onclick:alert('test')"; objItem.ActiveRegion.Tooltip = "test"; objItem.ActiveRegion.Url = "www.google.com"; objSeries.Items.Add(objItem);}
void ActiveRegion_Click(object sender, RegionClickEventArgs args)
{
throw new NotImplementedException();
}
But the handler is not getting fired nor the alert is shown..
Is there something i miss?
Thanks and best regards