提交 f8bc64fb 编写于 作者: S susiwen8

Fix tooltip was not centered

上级 3ddb125a
......@@ -550,7 +550,8 @@ class SeriesModel<Opt extends SeriesOption = SeriesOption> extends ComponentMode
colorStr = typeof colorEl === 'string' ? colorEl : colorEl.content;
const html = !multipleSeries
? seriesName + (seriesName ? '<br/>' : '') + '<p style="margin: 8px 0 0;">' + colorStr
? seriesName + (seriesName ? '<br/>' : '') + `<p style="margin: ${seriesName ? 8 : 0}px 0 0;">`
+ colorStr
+ (name
? `${encodeHTML(name)}${content}`
: content
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册