提交 f0d84e25 编写于 作者: C Catouse

* add 'showTooltips' option to dataset.

上级 6765fdf9
......@@ -1174,6 +1174,9 @@
yMin;
helpers.each(this.datasets, function(dataset)
{
/// ZUI change begin
if(dataset.showTooltips === false) return;
/// ZUI change end
dataCollection = dataset.points || dataset.bars || dataset.segments;
if (dataCollection[dataIndex] && dataCollection[dataIndex].hasValue())
{
......
......@@ -133,6 +133,9 @@
strokeColor: dataset.strokeColor,
pointColor: dataset.pointColor,
pointStrokeColor: dataset.pointStrokeColor,
/// ZUI change begin
showTooltips: dataset.showTooltips !== false,
/// ZUI change end
points: []
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册