Closed foolmadao closed 5 years ago
在曲线图和散点图中,如何设置tooltip中的形状
如图右边的legend的形状和图像中hover产生的tooltip的形状不一样 tooltip用formatter实现 经检查发现无论legend和series中设置的symbol为什么形状,formatter函数中获取的point的maker都是圆形
散点图中存在相同的情况
期望tooltip的图标和图中点及legend一致
ECharts version;ECharts 版本: {4.0}
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}
Hi, currently the tooltip and legend don't keep icons consistent. You can draw any icon in HTML with the tooltip formatter.
formatter
General Questions
Issue Type
Issue Details
在曲线图和散点图中,如何设置tooltip中的形状
如图右边的legend的形状和图像中hover产生的tooltip的形状不一样 tooltip用formatter实现 经检查发现无论legend和series中设置的symbol为什么形状,formatter函数中获取的point的maker都是圆形
散点图中存在相同的情况
Expected Behavior
期望tooltip的图标和图中点及legend一致
Current Behavior
Topics
Environment
ECharts version;ECharts 版本: {4.0}
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}