code: function drawRadialMajorTicks(context, options) {
      drawings.prepareTicks(options);
  
      //noinspection JSUnresolvedFunction
      let r = abs(radialTicksRadius(context, options));
      let i, colors;
      let s = options.majorTicks.length;
      let pixelRatio = SmartCanvas.pixelRatio;
  
      context.lineWidth = 2 * pixelRatio;
      context.save();
  
      colors = options.colorMajorTicks instanceof Array ?
          options.colorMajorTicks : new Array(s).fill(options.colorStrokeTicks ||
              options.colorMajorTicks);
  
      i = 0;
      for (; i < s; ++i) {
          context.strokeStyle = colors[i];
          context.rotate(drawings.radians(radialNextAngle(
              options,
              options.exactTicks ? options.majorTicks[i] : i,
              s
          )));
  
          context.beginPath();
          context.moveTo(0, r);
          context.lineTo(0, r - context.max * 0.15);
          closeStrokedPath(context);
      }
  
      if (options.strokeTicks) {
          context.strokeStyle = options.colorStrokeTicks || colors[0];
          context.rotate(HPI);
  
          context.beginPath();
          context.arc(0, 0, r,
              drawings.radians(options.startAngle),
              drawings.radians(options.startAngle + options.ticksAngle),
              false
          );
          closeStrokedPath(context);
      }
  }
docs: /* istanbul ignore next: private, not testable 
  Draws gauge major ticks bar on a canvas
  
  @param {Canvas2DContext} context
  @param {RadialGaugeOptions} options