@datarailsshared/dr_renderer 1.2.148-dragons → 1.2.149-dragons

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.148-dragons",
3
+ "version": "1.2.149-dragons",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -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 = true;
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',