I have been trying to change the overlay property for a pie chart series. According to your documenation at http://www.kendoui.com/documentation/dataviz/chart/configuration.aspx and http://demos.kendoui.com/dataviz/pie-chart/index.html, I should able to set the overlay property of the pie series to the string "glass" as so:
However, this has no effect on the chart. After digging through the source code for the chart, I believe that overlay is not a string, but an object. So instead of the above, I should use this:
I think this is an error in your documentation that needs correcting.
Additionally, it would be great to know all of the possible values that can be supplied there. After further inspection of your source code, it appears that "none", "glass", "roundedBevel" are valid values that can be used. Are there others?
Thanks,
Sara
series: [{
type:
"pie"
,
field:
"Amount"
,
categoryField:
"DisplayName"
,
colorField:
"color"
,
padding: 20,
overlay:
"glass"
}]
However, this has no effect on the chart. After digging through the source code for the chart, I believe that overlay is not a string, but an object. So instead of the above, I should use this:
series: [{
type:
"pie"
,
field:
"Amount"
,
categoryField:
"DisplayName"
,
colorField:
"color"
,
padding: 20,
overlay: {
gradient:
"glass"
}
}]
I think this is an error in your documentation that needs correcting.
Additionally, it would be great to know all of the possible values that can be supplied there. After further inspection of your source code, it appears that "none", "glass", "roundedBevel" are valid values that can be used. Are there others?
Thanks,
Sara