This is a migrated thread and some comments may be shown as answers.

No gradient and invisible tooltip in pie chart

1 Answer 139 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 20 Dec 2011, 09:59 PM
Hi,

if I set the gradient value to "none", a tooltip doesn't show up (if the value is "glass" everything works great).

seriesDefaults: {
   type: "pie",
   overlay: {
      gradient: "none"
   }
},
series: [{
   field: "Amounts[0].Amount",
   categoryField: "Name"
}],
tooltip: {
   visible: true,
   format: "{0:N0}",
   template: "${category}<br>${value}"
}

Is this a bug or I am doing something wrong?


Thanks,

Igor

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 21 Dec 2011, 09:28 AM
Hello Igor,

Thank you for contacting us.

You need to set:

overlay: null
instead of:
overlay: {
   gradient: "none"
}

All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Igor
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or