Charts and Themes

I'm having trouble figuring out how to apply a theme to my chart.  The theme works fine for my treeview so I believe the right style sheet is included.  

I've added this to my chart declaration:

option:
{
theme: 'flatlime'
},

(and I tried flat-lime)    

Can I get an example of applying a theme to a chart?

1 Reply

GS Gowrimathi S Syncfusion Team October 1, 2013 03:58 AM UTC

Hi Michael O’Connor,

Thanks for using Syncfusion product.

Theme for chart can be applied through model as below,

[JS]

$("#Chart").ejChart(

Theme:’flatlime’,

)};

We have created a sample based on the query. Please find the sample from the attachment

Thanks,

Gowrimathi S



Theme_f37dac6.zip

Loader.
Up arrow icon