ps-toolkit-ui 1.11.26 → 1.11.28

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.
@@ -3039,7 +3039,7 @@
3039
3039
  TableRowComponent.prototype.getCell = function (col) {
3040
3040
  console.log('getCell');
3041
3041
  var cv = _.get(this.row.Data, col.name);
3042
- if (cv === null) {
3042
+ if (cv === null || cv === undefined) {
3043
3043
  return col.default ? col.default : '';
3044
3044
  }
3045
3045
  else if (col.fun != null) {
@@ -8516,10 +8516,6 @@
8516
8516
  this.options = this.merge(opt, cOpt);
8517
8517
  this.chart = Highcharts.chart(this.name + 'Chart', this.options);
8518
8518
  };
8519
- ChartClass.prototype.setChartArea = function (opt) {
8520
- this.options = opt;
8521
- this.chart = Highcharts.chart(this.name + 'Chart', this.options);
8522
- };
8523
8519
  ChartClass.prototype.destroy = function () {
8524
8520
  if (this.chart !== null) {
8525
8521
  this.chart.destroy();
@@ -8527,8 +8523,9 @@
8527
8523
  };
8528
8524
  ChartClass.prototype.getSymbol = function (point) {
8529
8525
  var marker = null;
8530
- if (point.point.graphic && point.point.graphic.symbolName) {
8531
- switch (point.point.graphic.symbolName) {
8526
+ var symbol = point.point.graphic && point.point.graphic.symbolName ? point.point.graphic.symbolName : point.point.series && point.point.series.symbol ? point.point.series.symbol : null;
8527
+ if (symbol != null) {
8528
+ switch (symbol) {
8532
8529
  case 'circle':
8533
8530
  marker = '●';
8534
8531
  break;