Controlling styles of charts - Bevel vs. Flat

3 posts, 0 answers
  1. Jacques
    Jacques avatar
    138 posts
    Member since:
    Jun 2007

    Posted 17 Oct 2013 Link to this post

    Hey guys, 

    I'm looking at the Kendo.All.js file to try and figure out how your Flat theme stops the charts from showing a bevel. Your theme builder is quite rudimentary in terms of what it allows you to theme unless I'm missing something. It doesn't for example allow you to specify something like bevels or no bevels. 

    So right now I'm going through the JS file step for step, which is time consuming and costly. How can we register a proper, complete, theme and control things like the bevels, as well as EVERYTHING else the chart may make use of? Right now the bevel is the most annoying part, but the rest would be nice too. 

    Thanks,
    Jacques
  2. Jacques
    Jacques avatar
    138 posts
    Member since:
    Jun 2007

    Posted 17 Oct 2013 Link to this post

    Through the following post: http://www.kendoui.com/forums/kendo-ui-dataviz/chart/pie-chart-overlay-property.aspx#boJiga6aG2OF1P8AAFTdxQ
    I was able to figure out the bevels/gradients which is as follows: 

    "seriesDefaults": {
         "labels": {
             "color": "red"
         },
         "pie": {
             "overlay": {
                 "gradient": "none"
             }
         },
         "column": {
             "overlay": {
                 "gradient": "none"
             }
         }
     },
    It was said that that information would be added to the Kendo documentation, but I don't see it anywhere. 

    The next question is where does one set fonts to be used for things like labels? 
  3. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 17 Oct 2013 Link to this post

    Hello Jacques,

    Kendo UI Chart outcome can be customized through the configuration options or using the DataViz ThemeBuilder. As for the gradients configuration, please check the following documentation link:

     Regarding the labels - take a look at the following links:

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top