"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const util = require("../../../../../../zrender@5.4.4/node_modules/zrender/lib/core/util.js");
function candlestickPreprocessor(option) {
  if (!option || !util.isArray(option.series)) {
    return;
  }
  util.each(option.series, function(seriesItem) {
    if (util.isObject(seriesItem) && seriesItem.type === "k") {
      seriesItem.type = "candlestick";
    }
  });
}
exports.default = candlestickPreprocessor;
