Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有在特定日期(时间段)开始和结束的数据,因此我想绘制一个图表,该图表不仅将值显示为点,而且显示为 X 轴上的线。你会怎么做?
它应该类似于以下示例:
我想将一个变量传递给框架,但我得到了当前页面。
代码:
function redirect(e){ $('#frame').show(); document.getElementById('frame').contentWindow.document.location.href = "page.php?var="+X;