We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Charts and Themes

Thread ID:

Created:

Updated:

Platform:

Replies:

112560 Sep 29,2013 02:17 PM Sep 30,2013 11:58 PM JavaScript 1
loading
Tags: ejChart
Michael O'Connor
Asked On September 29, 2013 02:17 PM

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?

Gowrimathi S [Syncfusion]
Replied On September 30, 2013 11:58 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;