Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-12-18 13:16:29

Hamza_DBM
Member
Registered: 2018-06-04

Change color of charts/ graphs in reports.

Hi folks,

Is it possible to change colors of the charts and graphs as i don't want show the red color?

Thank You .

Offline

#2 2018-12-18 13:30:02

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change color of charts/ graphs in reports.

Hi Hamza_DBM,

what kind of report are you talking about? Jasper/Birt/Crystal/Saiku/Mondrian ?
And which version do you have (rsversion.properties). Manual installation or bitnami ?

Regards,
Eduardo

Offline

#3 2018-12-18 16:41:37

Hamza_DBM
Member
Registered: 2018-06-04

Re: Change color of charts/ graphs in reports.

Hi eduardo,

Just normal RS reports with view  chart: multiple Bar  or chart line

Version RS3.0.5-6005 (2018-10-30-10-32-54)

Thank You.

Offline

#4 2018-12-18 16:44:53

Hamza_DBM
Member
Registered: 2018-06-04

Re: Change color of charts/ graphs in reports.

Dynamic lists in pivot mode using charts and graphs for the view smile

Offline

#5 2018-12-19 12:18:42

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change color of charts/ graphs in reports.

Hi Hamza_DBM,

please check the SaikuChartRenderer.js file(s). Here, you see the color settings of the chart rendering: e.g. ["#1f77b4", "#aec7e8", "#ff7f0e", "#ffbb78", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5", "#8c564b", "#c49c94", "#e377c2", "#f7b6d2", "#7f7f7f", "#c7c7c7", "#bcbd22", "#dbdb8d", "#17becf", "#9edae5"]

You may change them as you need.

We raised ticket RS-3229 to investigate why this file is included 3 times in reportserver. This may be a bug. Please try with the different files to check which one you are able to customize the colors. We will further consider implementing better configuration settings for the saiku charts.
Remember to completely erase your browser's cache after changing these files in order to load the most recent version.

Regards,
Eduardo

Offline

#6 2019-06-14 11:58:42

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change color of charts/ graphs in reports.

Hi Hamza_DBM,

for completeness:

if you change the following in all three files:
1. reportserver/resources/saiku/js/saiku/render/SaikuChartRenderer.js
2. reportserver/WEB-INF/classes/resources/saiku/SaikuChartRenderer.js
3. reportserver/WEB-INF/classes/resources/saiku/render/SaikuChartRenderer.js

options.colors = ['#AE1717', '#AE5B17', '#0E6868'];  ---->  options.colors = ['#172ab7', '#17b72e', '#c3f458'];

You get, after a complete browser cache and temp files deletion, the following chart:

Bildschirmfoto-2019-06-14-um-13-52-35.png

The settings described should allow you to create a color theme that fits your enterprise theme.

Regards,
Eduardo

Offline

#7 2020-08-05 14:03:07

sritter
Member
Registered: 2020-07-07

Re: Change color of charts/ graphs in reports.

eduardo wrote:

We will further consider implementing better configuration settings for the saiku charts.

Is the post still the way to go? Is this update save?

Offline

Board footer

Powered by FluxBB