@datarailsshared/dr_renderer 1.2.195-dragons → 1.2.196-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
|
@@ -8666,11 +8666,10 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
8666
8666
|
}
|
|
8667
8667
|
|
|
8668
8668
|
highchartsRenderer.getBreakdownXAxisLabelFormatter = function(chartSeries) {
|
|
8669
|
-
const
|
|
8670
|
-
const styleForBreakdownLabel = 'font-weight: 600; color: #6f6f6f; font-size: 11px;';
|
|
8669
|
+
const styleForBreakdownLabel = 'font-weight: normal; color: #51566f;';
|
|
8671
8670
|
return function() {
|
|
8672
8671
|
const isTotal = lodash.some(chartSeries[0].data, point => point.name === this.value && point.isTotal);
|
|
8673
|
-
return `<span style="${ isTotal ?
|
|
8672
|
+
return `<span style="${ isTotal ? '' : styleForBreakdownLabel }">${ this.value }</span>`;
|
|
8674
8673
|
}
|
|
8675
8674
|
}
|
|
8676
8675
|
|