@datarailsshared/dr_renderer 1.2.263 → 1.2.266
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +9 -5
- package/package.json +1 -1
- package/src/highcharts_renderer.js +10 -0
package/.circleci/config.yml
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
version: 2
|
|
1
|
+
version: 2.1
|
|
2
|
+
|
|
3
|
+
orbs:
|
|
4
|
+
datarails-cicd-orb: datarails/datarails-cicd-orb@dev:primary
|
|
6
5
|
|
|
7
6
|
defaults: &defaults
|
|
8
7
|
working_directory: ~/repo
|
|
@@ -40,6 +39,11 @@ jobs:
|
|
|
40
39
|
- run:
|
|
41
40
|
name: Publish package
|
|
42
41
|
command: npm publish . --access=public
|
|
42
|
+
- datarails-cicd-orb/add-ssh-id:
|
|
43
|
+
private_key_env_var: bitbucket_deploy_private_encoded
|
|
44
|
+
public_key_env_var: bitbucket_deploy_pub_encoded
|
|
45
|
+
is_public_key_encoded: true
|
|
46
|
+
is_private_key_encoded: true
|
|
43
47
|
- run:
|
|
44
48
|
name: prepare git tag
|
|
45
49
|
command: |
|
package/package.json
CHANGED
|
@@ -1134,6 +1134,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1134
1134
|
newSeries.className = 'totalSeries';
|
|
1135
1135
|
newSeries.name = 'Total';
|
|
1136
1136
|
newSeries.data = [];
|
|
1137
|
+
|
|
1138
|
+
if (colors && colors[i]) {
|
|
1139
|
+
newSeries.color = colors[i];
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1137
1142
|
col_n_keys.forEach(columnKey => {
|
|
1138
1143
|
let totalKey = columnKey;
|
|
1139
1144
|
if (lodash.isArray(columnKey)) {
|
|
@@ -1316,6 +1321,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
1316
1321
|
totalSeries.className = 'totalSeries';
|
|
1317
1322
|
totalSeries.name = 'Total';
|
|
1318
1323
|
totalSeries.data = [];
|
|
1324
|
+
|
|
1325
|
+
if (colors && colors[i]) {
|
|
1326
|
+
totalSeries.color = colors[i];
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1319
1329
|
col_n_keys.forEach(columnKey => {
|
|
1320
1330
|
let key = columnKey;
|
|
1321
1331
|
let totalKey = columnKey;
|