@datarailsshared/dr_renderer 1.5.39 → 1.5.41
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/package.json
CHANGED
|
@@ -2131,8 +2131,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
2131
2131
|
};
|
|
2132
2132
|
|
|
2133
2133
|
highchartsRenderer.addSecondYAxis = function (pivotData, chartOptions, additionOptions, opts) {
|
|
2134
|
-
|
|
2135
|
-
const forcePercentage = lodash.get(opts, 'comboOptions.secondaryAxisSettings.is_percentage', false) || lodash.get(additionOptions, 'delta_column.is_percentage', false);
|
|
2134
|
+
const forcePercentage = lodash.get(opts, 'comboOptions.secondaryAxisSettings.is_percentage', false) || lodash.get(additionOptions, 'delta_column.is_percentage', false);
|
|
2136
2135
|
|
|
2137
2136
|
chartOptions.yAxis = [chartOptions.yAxis];
|
|
2138
2137
|
chartOptions.yAxis[1] = {
|
|
@@ -2141,13 +2140,13 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
2141
2140
|
title: {
|
|
2142
2141
|
text: highchartsRenderer.encodeHTMLBrackets(opts.comboOptions.secondaryAxisSettings.name),
|
|
2143
2142
|
style: {
|
|
2144
|
-
color:
|
|
2143
|
+
color: CHART_COLORS.LABEL_SECOND
|
|
2145
2144
|
}
|
|
2146
2145
|
},
|
|
2147
2146
|
labels: {
|
|
2148
2147
|
formatter: highchartsRenderer.defaultValueLabelsFormatter(pivotData, opts, forcePercentage),
|
|
2149
2148
|
style: {
|
|
2150
|
-
color:
|
|
2149
|
+
color: CHART_COLORS.LABEL_SECOND
|
|
2151
2150
|
}
|
|
2152
2151
|
},
|
|
2153
2152
|
opposite: true,
|