@datarailsshared/dr_renderer 1.2.86 → 1.2.89
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
package/src/dr_pivottable.js
CHANGED
|
@@ -701,9 +701,7 @@ let initDRPivotTable = function($, window, document) {
|
|
|
701
701
|
if(color_to_set){
|
|
702
702
|
element.style.setProperty("background-color", color_to_set, "important");
|
|
703
703
|
element.style.setProperty("border-color", color_to_set, "important");
|
|
704
|
-
element.style.color =
|
|
705
|
-
? invertColors(color_to_set)
|
|
706
|
-
: '#3a3b39';
|
|
704
|
+
element.style.color = invertColors(color_to_set);
|
|
707
705
|
element.style.fontWeight = "bold";
|
|
708
706
|
if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
|
|
709
707
|
for (const child of element.children) {
|
|
@@ -733,9 +731,7 @@ let initDRPivotTable = function($, window, document) {
|
|
|
733
731
|
element.style.setProperty("background-color", color_to_set, "important");
|
|
734
732
|
element.style.setProperty("border-color", color_to_set, "important");
|
|
735
733
|
element.style.setProperty("vertical-align", "baseline");
|
|
736
|
-
element.style.color =
|
|
737
|
-
? invertColors(color_to_set)
|
|
738
|
-
: '#3a3b39';
|
|
734
|
+
element.style.color = invertColors(color_to_set);
|
|
739
735
|
element.style.fontWeight = "bold";
|
|
740
736
|
if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
|
|
741
737
|
for (const child of element.children) {
|
|
@@ -5121,7 +5121,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
5121
5121
|
if (existing_options && lodash.has(existing_options, type + '.' + elem.value_name)) {
|
|
5122
5122
|
valToReturn[elem.value_name] = lodash.get(existing_options, type + '.' + elem.value_name);
|
|
5123
5123
|
}
|
|
5124
|
-
if (valToReturn[elem.value_name] == undefined) {
|
|
5124
|
+
if (valToReturn[elem.value_name] == undefined && elem.element_type !== 'devider') {
|
|
5125
5125
|
valToReturn[elem.value_name] = elem.default_value;
|
|
5126
5126
|
}
|
|
5127
5127
|
});
|
|
@@ -7643,7 +7643,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
7643
7643
|
verticalAlign: 'top',
|
|
7644
7644
|
borderWidth: 0,
|
|
7645
7645
|
itemMarginTop: 10,
|
|
7646
|
-
y: additionOptions.hideChartHeader ? -25 : (additionOptions.subtitle.subtitle ? 30 : 13)
|
|
7646
|
+
y: additionOptions.hideChartHeader ? -25 : (additionOptions.subtitle && additionOptions.subtitle.subtitle ? 30 : 13)
|
|
7647
7647
|
} : {
|
|
7648
7648
|
layout: 'vertical',
|
|
7649
7649
|
align: 'right',
|
|
@@ -7659,7 +7659,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
7659
7659
|
verticalAlign: 'top',
|
|
7660
7660
|
borderWidth: 0,
|
|
7661
7661
|
itemMarginTop: 10,
|
|
7662
|
-
y: additionOptions.hideChartHeader ? -25 : (additionOptions.subtitle.subtitle ? 30 : 13)
|
|
7662
|
+
y: additionOptions.hideChartHeader ? -25 : (additionOptions.subtitle && additionOptions.subtitle.subtitle ? 30 : 13)
|
|
7663
7663
|
} : {
|
|
7664
7664
|
enabled: rowAttrsLength > 0,
|
|
7665
7665
|
layout: 'vertical',
|