@datarailsshared/dr_renderer 1.2.360 → 1.2.361

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.360",
3
+ "version": "1.2.361",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -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 = chartOptions.xAxis.title ? 34 : 30;
1045
+ chartOptions.chart.spacingBottom = lodash.get(chartOptions, 'xAxis.title') ? 34 : 30;
1046
1046
  chartOptions.drilldown.breadcrumbs = {
1047
1047
  formatter: () => 'Back',
1048
1048
  showFullPath: false,