@datarailsshared/dr_renderer 1.2.120 → 1.2.123
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
|
@@ -808,9 +808,9 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
808
808
|
if (isNewAngular) {
|
|
809
809
|
const isPieChart = chartOptions.chart && chartOptions.chart.type === 'pie';
|
|
810
810
|
const x = isPieChart ? 0 :
|
|
811
|
-
chartOptions.yAxis.title.text || chartOptions.yAxis.title.autoylabel ? -60 : -40;
|
|
811
|
+
chartOptions.yAxis && chartOptions.yAxis.title && (chartOptions.yAxis.title.text || chartOptions.yAxis.title.autoylabel) ? -60 : -40;
|
|
812
812
|
const y = isPieChart ? 27 :
|
|
813
|
-
chartOptions.xAxis.title.text || chartOptions.xAxis.title.autoxlabel ? 65 : 43;
|
|
813
|
+
chartOptions.xAxis && chartOptions.xAxis.title && (chartOptions.xAxis.title.text || chartOptions.xAxis.title.autoxlabel) ? 65 : 43;
|
|
814
814
|
chartOptions.drilldown.breadcrumbs = {
|
|
815
815
|
formatter: () => '< Back',
|
|
816
816
|
showFullPath: false,
|
|
@@ -6628,6 +6628,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
6628
6628
|
'text-widget': {
|
|
6629
6629
|
name: 'Text ',
|
|
6630
6630
|
label: 'Text',
|
|
6631
|
+
title: 'Display any type of rich text and media including tables, lists, images and more.'
|
|
6631
6632
|
},
|
|
6632
6633
|
'table_only': {
|
|
6633
6634
|
name: 'Table ',
|
|
@@ -7062,6 +7063,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
7062
7063
|
class: 'google-visualization-charteditor-thumbs-table',
|
|
7063
7064
|
render: highchartsRenderer.ptRenderBasicLine,
|
|
7064
7065
|
suboptions: [
|
|
7066
|
+
highchartsRenderer.suboptions["subtitle"],
|
|
7065
7067
|
highchartsRenderer.suboptions["widget_library"],
|
|
7066
7068
|
highchartsRenderer.suboptions["table_options_transpose"],
|
|
7067
7069
|
highchartsRenderer.suboptions["table_design_options"],
|
|
@@ -7359,7 +7361,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
7359
7361
|
presentation_data_tag = local_current_dashboard.presentation_data_tag_object.value;
|
|
7360
7362
|
}
|
|
7361
7363
|
else if(local_current_dashboard && local_current_dashboard.date_tags && local_current_dashboard.date_tags.length > 0){
|
|
7362
|
-
local_current_dashboard.presentation_data_tag_object = lodash.maxBy(local_current_dashboard.date_tags, 'value');
|
|
7364
|
+
local_current_dashboard.presentation_data_tag_object = lodash.clone(lodash.maxBy(local_current_dashboard.date_tags, 'value'));
|
|
7363
7365
|
if(local_current_dashboard.presentation_data_tag_object){
|
|
7364
7366
|
presentation_data_tag = local_current_dashboard.presentation_data_tag_object.value;
|
|
7365
7367
|
}
|