Pie Chart Overlay Property

4 posts, 1 answers
  1. sara
    sara avatar
    31 posts
    Member since:
    May 2007

    Posted 10 Apr 2012 Link to this post

    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:
    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
  2. Answer
    T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 12 Apr 2012 Link to this post

    Hi,

    Thank you for reporting this problem with the documentation.

    The possible values are "roundedBevel", "sharpBevel" and "none". We'll add this info to the documentation.

    As a token of gratitude for your involvement your Telerik points have been updated.

    Regards,
    Tsvetomir Tsonev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 17 Oct 2013 Link to this post

    seems like this information never made it to the documentation? 
  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 23 Oct 2013 Link to this post

    Hello,

    The overlay property is already documented here:
    http://docs.kendoui.com/api/dataviz/chart#configuration-series.overlay.gradient

    I hope this helps.

    Regards,
    T. Tsonev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready