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

Controlling styles of charts - Bevel vs. Flat

2 Answers 402 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 2
Jacques asked on 17 Oct 2013, 06:26 AM
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 Answers, 1 is accepted

Sort by
0
Jacques
Top achievements
Rank 2
answered on 17 Oct 2013, 07:01 AM
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? 
0
Iliana Dyankova
Telerik team
answered on 17 Oct 2013, 06:46 PM
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!
Tags
General Discussions
Asked by
Jacques
Top achievements
Rank 2
Answers by
Jacques
Top achievements
Rank 2
Iliana Dyankova
Telerik team
Share this question
or