Jump to content
Changes to the Jaspersoft community edition download ×

Custom Theme for HTML5 charts in Jaspersoft Studio


Recommended Posts

Dear All, 

Is there any way to create custom themes to apply for HTML5 charts. I know, we can do the same by modifying each and every attribute under Advance formatting however I want to do the same in one file and apply the same to all HTML5 charts. 

I searched entire universe but no concrete information found. Any guidance is greatly helpful. 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

actually there is nothing like this for Highcharts. You might want to add an enhancement request on the Community Tracker, but if you are a customer it's even better you contact the support and ask them to open internally this kind of request. This feature it's something that need to be studied among the JR and JSS teams in order to come-up with something user-friendly and easy to set-up. We might probably rely on the existing feature of Highcharts: https://www.highcharts.com/docs/chart-design-and-style/themes

Best regards,

Link to comment
Share on other sites

  • 10 months later...

Hi. I'm this is actually a follow-up question to the original poster. 

From the HighCharts web site referred to (above), it looks like you can create themes for charts. Here's a snippet:

Highcharts.theme = {    colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572',              '#FF9655', '#FFF263', '#6AF9C4'],    chart: {        backgroundColor: {            linearGradient: [0, 0, 500, 500],            stops: [                [0, 'rgb(255, 255, 255)'],                [1, 'rgb(240, 240, 255)']            ]        },    },

How would I go about incorporating this theme into the reports server so that all reports pick and use these stylings? (If it's too complicated an answer for here, can you please point to where this is documented?)

Thanks very much.

Link to comment
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

  • Create New...