yhooithin05

Applying theme in fusion time series

Recommended Posts

Hi,

 I am rendering my chart on back end (VB.net), i cannot make it works on back end using  -->  timeSeries.AddAttribute("chart", "{theme:'candy'}")

Meanwhile, i do not know how to properly define on javascript using 'beforerender' event and setChartAttribute ,  its still stick to fusion theme and not get the candy theme to be render out, i don't know which part is wrong.

Please help urgently!

  setTimeout(function () {
         FusionCharts.items["particlecounter_1k_chart"].addEventListener("beforerender", function (ev) {                                    
      
         FusionCharts.items["particlecounter_1k_chart"].setChartAttribute("theme", "candy");
      console.log(ev);
       });
            }, 1000);

 

Regards,

Hooi Thin

 

Edited by yhooithin05

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now