@datarailsshared/dr_renderer 1.2.358 → 1.2.360
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
@@ -22,8 +22,8 @@ const CHART_COLORS = {
|
|
22
22
|
LABEL_SECOND: '#85889c',
|
23
23
|
DRILL_UP_FILL: '#eef3f6',
|
24
24
|
DRILL_BUTTON_COLOR_FILL: 'white',
|
25
|
-
DRILL_BUTTON_COLOR: '#
|
26
|
-
DRILL_BUTTON_COLOR_HOVER: '#
|
25
|
+
DRILL_BUTTON_COLOR: '#333333',
|
26
|
+
DRILL_BUTTON_COLOR_HOVER: '#6D6E6F',
|
27
27
|
PLOT_BORDER: '#606063',
|
28
28
|
MINOR_GRID_LINE: '#505053',
|
29
29
|
TICK_COLOR: '#666',
|
@@ -1042,7 +1042,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
1042
1042
|
chartOptions.yAxis && chartOptions.yAxis.title && (chartOptions.yAxis.title.text || chartOptions.yAxis.title.autoylabel) ? -60 : -40;
|
1043
1043
|
const y = isPieChart ? 27 :
|
1044
1044
|
chartOptions.xAxis && chartOptions.xAxis.title && (chartOptions.xAxis.title.text || chartOptions.xAxis.title.autoxlabel) ? 65 : 43;
|
1045
|
-
chartOptions.chart.spacingBottom = 30;
|
1045
|
+
chartOptions.chart.spacingBottom = chartOptions.xAxis.title ? 34 : 30;
|
1046
1046
|
chartOptions.drilldown.breadcrumbs = {
|
1047
1047
|
formatter: () => 'Back',
|
1048
1048
|
showFullPath: false,
|
@@ -1086,7 +1086,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
1086
1086
|
if (chartOptions.series) {
|
1087
1087
|
for (var i = 0; i < chartOptions.series.length; i++) {
|
1088
1088
|
seriesDataLength += chartOptions.series[i].data ? chartOptions.series[i].data.length : 0;
|
1089
|
-
if (seriesDataLength >
|
1089
|
+
if (seriesDataLength > 1000) {
|
1090
1090
|
toMatch = true;
|
1091
1091
|
break;
|
1092
1092
|
}
|