@datarailsshared/dr_renderer 1.2.148-dragons → 1.2.150
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/dataformatter.js
CHANGED
|
@@ -865,7 +865,7 @@ var DataFormatterImpl = function () {
|
|
|
865
865
|
// Standard condition for negative number
|
|
866
866
|
case sectionIndex === 1:
|
|
867
867
|
condition = 'type == "Number" && parseFloat(n) < 0';
|
|
868
|
-
shouldAbsNumber =
|
|
868
|
+
shouldAbsNumber = !!section.match(/\(.*\)/);
|
|
869
869
|
break;
|
|
870
870
|
|
|
871
871
|
}
|
|
@@ -6265,6 +6265,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
6265
6265
|
]
|
|
6266
6266
|
},
|
|
6267
6267
|
'negative_number_format': {
|
|
6268
|
+
is_hidden: true,
|
|
6268
6269
|
category_class: 'google-visualization-charteditor-mini-more',
|
|
6269
6270
|
category_label: 'Negative num',
|
|
6270
6271
|
category_type: 'negative_numbers',
|