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

Theme definition

3 Answers 60 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Williams
Top achievements
Rank 1
Chris Williams asked on 22 May 2012, 07:09 AM
Hi, I'm looking for some info on the chart themes.  Basically, I'd like to know the color palette used for the Default theme so that I can use the colors to build a dashboard.  I've looked through the code and don't see them defined, and the Visual Style Builder (http://stylebuilder.telerik.com/Colorize.aspx) doesn't have any listing for the chart.

It would be great if I could get the colors for the first 10 series in Default. Or, you can just point me to the relevant source location.

thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 23 May 2012, 05:02 PM
Hi Chris,

You could get the seriesColors for each of the themes from the themes.js file which is located in the [Telerik Install Folder]\Examples\Telerik.Web.Mvc.Examples\Scripts\Chart\themes.js. 

I hope this helps.

Regards,
Iliana Nikolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Chris Williams
Top achievements
Rank 1
answered on 23 May 2012, 05:27 PM
I see that!  Excellent, thank you very much.

Chris
0
Gayathri
Top achievements
Rank 1
answered on 30 Nov 2012, 11:06 AM
Yes even i too saw that. but how do i specify this in the chart.
for example below is my code
  @(Html.Telerik().Chart(Model)
        .Name("BPLBeneficiary")
        .Title("Total BPL Families vs Beneficiaries")
        .Theme(themes.metro)
       )

Is that correct to specify the theme like this?
Tags
Chart
Asked by
Chris Williams
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Chris Williams
Top achievements
Rank 1
Gayathri
Top achievements
Rank 1
Share this question
or