Openbravo Issue Tracking System - Modules
View Issue Details
0035103ModulesAnalyticspublic2017-01-31 12:392017-03-21 12:54
ngarcia 
caristu 
urgentminoralways
closedfixed 
5
 
 
inigosanchez
0035103: Only three colors are shown in Analytics charts
Only three colors are shown in Analytics charts. They are set in the options.colors parameter of the following file:

org.openbravo.client.analytics/web/org.openbravo.client.analytics/saiku/js/saiku/render/SaikuChartRenderer.js
As group admin role:
   Go to OB Analytics window
   Select Sample Purchase/sales Order Line Cube
   Add the four measures
   Add the Organization dimension in Rows
   Switch to Chart mode
   Check only three colors are shown and one is repeated
Make the colours configurable in settings.js file, backporting Saiku's solution:

http://jira.meteorite.bi/browse/SKU-1455 [^]
No tags attached.
related to design defect 0035112 acknowledged Triage Platform Base Is not possible to extend the Saiku UI Settings 
diff issue35103.diff (1,357) 2017-01-31 17:37
https://issues.openbravo.com/file_download.php?file_id=10369&type=bug
Issue History
2017-01-31 12:39ngarciaNew Issue
2017-01-31 12:39ngarciaAssigned To => platform
2017-01-31 12:40ngarciaIssue Monitored: networkb
2017-01-31 17:36caristuFile Added: 35057.diff
2017-01-31 17:37caristuFile Deleted: 35057.diff
2017-01-31 17:37caristuFile Added: issue35103.diff
2017-01-31 17:40caristuNote Added: 0093966
2017-01-31 17:40caristuStatusnew => acknowledged
2017-01-31 17:41caristuSeveritymajor => minor
2017-01-31 17:46caristuRelationship addedrelated to 0035112
2017-03-14 17:06hgbotCheckin
2017-03-14 17:06hgbotNote Added: 0095002
2017-03-14 17:06hgbotStatusacknowledged => resolved
2017-03-14 17:06hgbotResolutionopen => fixed
2017-03-14 17:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/5fe9c27f00c9f3932fa19403ff62b4fe1bfa699f [^]
2017-03-14 17:06caristuReview Assigned To => alostale
2017-03-14 18:26caristuAssigned Toplatform => caristu
2017-03-21 12:17caristuReview Assigned Toalostale => inigosanchez
2017-03-21 12:54inigosanchezNote Added: 0095468
2017-03-21 12:54inigosanchezStatusresolved => closed

Notes
(0093966)
caristu   
2017-01-31 17:40   
Attached fix with the solution
(0095002)
hgbot   
2017-03-14 17:06   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: 5fe9c27f00c9f3932fa19403ff62b4fe1bfa699f
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Mar 14 17:05:18 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/5fe9c27f00c9f3932fa19403ff62b4fe1bfa699f [^]

fixes issue 35103: Increase the set of colors available by default for charts

---
M web/org.openbravo.client.analytics/saiku/js/saiku/Settings.js
M web/org.openbravo.client.analytics/saiku/js/saiku/render/SaikuChartRenderer.js
---
(0095468)
inigosanchez   
2017-03-21 12:54   
Code review & Tested > Number of colors displayed in charts are increased.