Angular nvd3交互式指南显示太多数据 [英] Angular nvd3 interactive guideline show too much data

查看:72
本文介绍了Angular nvd3交互式指南显示太多数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个包含3行的折线图。

I am creating a line chart with 3 lines.

第一行有 dateA dateB 的数据

第二行和第三行的数据从 dateB dateC

Second and third lines have data from dateB to dateC

问题与交互式指南相关联。当鼠标在第一行(深蓝色)上时,它应该只显示此行的值。目前,它显示所有值

The problem is linked to the interactive guideline. When the mouse is over the first line (dark blue) it should only display the value of this line. For the moment, it display all the values

如何

推荐答案

不是完美的解决方案,但你可以填充第一个

Not the perfect solution, but you can fill the values of the 1st line with null value from dateB to dateC

请参阅此 plunker

这篇关于Angular nvd3交互式指南显示太多数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆