@daphneb/phonereporting
Version:
84 lines (81 loc) • 2.13 kB
JavaScript
export const yearlyData = [
{
id: "blue-line",
color: "blue",
points: [
{ "x": "2000", "y": 202 },
{ "x": "2001", "y": 215 },
{ "x": "2002", "y": 179 },
{ "x": "2003", "y": 199 },
{ "x": "2004", "y": 134 },
{ "x": "2010", "y": 176 }
]
},
{
id: "green-line",
color: "green",
points: [
{ "x": "2000", "y": 102 },
{ "x": "2001", "y": 115 },
{ "x": "2002", "y": 279 },
{ "x": "2005", "y": 139 },
{ "x": "2007", "y": 194 },
{ "x": "2009", "y": 116 }
]
},
{
id: "red-line",
color: "red",
points: [
{ "x": "2000", "y": 142 },
{ "x": "2001", "y": 135 },
{ "x": "2003", "y": 179 },
{ "x": "2005", "y": 139 },
{ "x": "2008", "y": 294 },
{ "x": "2009", "y": 176 }
]
}
];
export const monthlyData = [
{
id: "blue-line",
color: "steelblue",
points: [
{ "x": "2016-01-02", "y": 202 },
{ "x": "2016-01-12", "y": 215 },
{ "x": "2016-01-14", "y": 179 },
{ "x": "2016-01-19", "y": 199 },
{ "x": "2016-01-22", "y": 134 },
{ "x": "2016-01-28", "y": 176 }
]
},
{
id: "red-line",
color: "red",
points: [
{ "x": "2016-01-03", "y": 142 },
{ "x": "2016-01-13", "y": 135 },
{ "x": "2016-01-15", "y": 179 },
{ "x": "2016-01-22", "y": 139 },
{ "x": "2016-01-24", "y": 294 },
{ "x": "2016-01-27", "y": 176 }
]
}
];
export const grouped = [
{ id: 1, value: 3, date: "2016-01-01" },
{ id: 1, value: 4, date: "2016-01-03" },
{ id: 2, value: 10, date: "2016-01-02" },
{ id: 1, value: 6, date: "2016-01-04" },
{ id: 2, value: 13, date: "2016-01-06" },
{ id: 1, value: 5, date: "2016-01-08" },
{ id: 2, value: 10, date: "2016-01-20" }
];
export const stair = [
{ startDate: "2016-01-01", endDate: "2016-01-04", name: "Task 1" },
{ startDate: "2016-01-02", endDate: "2016-01-03", name: "Task 2" },
{ startDate: "2016-01-03", endDate: "2016-01-06", name: "Task 3" },
{ startDate: "2016-01-05", endDate: "2016-01-10", name: "Task 4" },
{ startDate: "2016-01-08", endDate: "2016-01-13", name: "Task 5" },
{ startDate: "2016-01-09", endDate: "2016-01-20", name: "Task 6" }
];