@datarailsshared/dr_renderer 1.2.362 → 1.2.364
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
@@ -5417,7 +5417,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
5417
5417
|
|
5418
5418
|
if (isTwoColumnComparisonWidget) {
|
5419
5419
|
const totalsField = xaxisFields[0];
|
5420
|
-
const isScenarioInTotals = /scenario/i.test(totalsField.name);
|
5420
|
+
const isScenarioInTotals = /scenario/i.test(totalsField.name) || /scenario/i.test(totalsField.alias);
|
5421
5421
|
|
5422
5422
|
if (isScenarioInTotals) {
|
5423
5423
|
const breakdownField = legendFields[0];
|
@@ -8852,7 +8852,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
8852
8852
|
}
|
8853
8853
|
});
|
8854
8854
|
|
8855
|
-
if (
|
8855
|
+
if (highchartsRenderer.sortHasBeenDoneOnBE(lodash.get(widget, 'pivot.keysObject')) && !isFormattingDatesAsOtherAxisTypes) {
|
8856
8856
|
lodash.forEach(['col_keys', 'row_keys'], (keysListName, index) => {
|
8857
8857
|
const widgetFields = index ? widget.rows : widget.cols;
|
8858
8858
|
const uniqueFormattedKeysList = [];
|