提交 d0860d98 编写于 作者: P pissang

fix(marker): fix typo in marker

上级 78a7e00a
......@@ -28,8 +28,8 @@ export function install(registers: EChartsExtensionInstallRegisters) {
registers.registerPreprocessor(function (opt) {
if (checkMarkerInSeries(opt.series, 'markArea')) {
// Make sure markLine component is enabled
opt.markLine = opt.markLine || {};
// Make sure markArea component is enabled
opt.markArea = opt.markArea || {};
}
});
}
\ No newline at end of file
......@@ -27,8 +27,8 @@ export function install(registers: EChartsExtensionInstallRegisters) {
registers.registerPreprocessor(function (opt) {
if (checkMarkerInSeries(opt.series, 'markPoint')) {
// Make sure markLine component is enabled
opt.markLine = opt.markLine || {};
// Make sure markPoint component is enabled
opt.markPoint = opt.markPoint || {};
}
});
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册