我想在设备上使用弹性线图组件显示这些类型的大规模数据, 我有一些过滤器,如过去一周,过去一个月和过去3个月
都有一些/大量的数据
{ Date: "1/1/2015", Day:"Sunday" , DayAbv:"SUN", Severity: 2 },
{ Date: "1/2/2015", Day:"Monday" , DayAbv:"MON", Severity: 5},
{ Date: "1/3/2015", Day:"Tuesday" , DayAbv:"TUE", Severity: 4},
{ Date: "1/4/2015", Day:"Wednesday" , DayAbv:"WED", Severity: 7},
{ Date: "1/5/2015", Day:"Thursday" , DayAbv:"THU", Severity: 5},
{ Date: "1/6/2015", Day:"Friday" , DayAbv:"FRI", Severity: 7},
{ Date: "1/7/2015", Day:"Saturday" , DayAbv:"SAT", Severity: 4}
与过去一个月和过去3个月的数据系列相同
如何按照以下图片对日期进行分组? 在y轴上,值相同但在x轴上日期应该在分组中。
在第二个折线图中,我有这些类型的数据
{ Time: "08:10", Average: 1 , Date : "1/1/2015" , Appearance : "Yes" },
{ Time: "09:25", Average: 1 , Date : "1/1/2015" , Appearance : "Yes" },
{ Time: "11:20", Average: 0 , Date : "1/2/2015" , Appearance : "No" },
{ Time: "13:20", Average: 0 , Date : "1/3/2015" , Appearance : "No" },
{ Time: "15:55", Average: 1 , Date : "1/3/2015" , Appearance : "Yes" },
{ Time: "18:05", Average: 0 , Date : "1/5/2015" , Appearance : "No" },
{ Time: "20:30", Average: 1 , Date : "1/5/2015" , Appearance : "Yes" }
详细说明,我想仅在X轴上显示第1周,在第1周显示过去一周数据的所有上述点,以及过去一周第1周,第2周,第3周,第4周等。
在一个轴上多次绘图