message: 392: Fixed validating parameters
diff: @@ -879,7 +879,7 @@ export class PriceScale {
  }
  if (autoScaleInfo !== null) {
  - const margins = autoScaleInfo.margins();
  + const margins = autoScaleInfo.margins() || null;
  if (margins !== null) {
  marginAbove = Math.max(marginAbove, margins.above);
  marginBelow = Math.max(marginAbove, margins.below);
  