| Line 276... |
Line 276... |
| 276 |
.put("display", true)
|
276 |
.put("display", true)
|
| 277 |
.put("text", "Investment Overview").put("display", true);
|
277 |
.put("text", "Investment Overview").put("display", true);
|
| 278 |
|
278 |
|
| 279 |
JSONObject barData = new JSONObject();
|
279 |
JSONObject barData = new JSONObject();
|
| 280 |
|
280 |
|
| 281 |
JSONObject walletStack = new JSONObject().put("label", "Wallet").put("backgroundColor","rgba(255, 99, 132, 0.2)")
|
281 |
JSONObject walletStack = new JSONObject().put("backgroundColor","rgba(255, 99, 132, 0.2)")
|
| 282 |
.put("label", "Wallet").put("stack", "Stack1").put("data", new JSONArray());
|
282 |
.put("label", "Wallet").put("stack", "Stack1").put("data", new JSONArray());
|
| 283 |
JSONObject inStockStack = new JSONObject().put("label", "In Stock").put("backgroundColor","rgba(54, 162, 235, 0.2)")
|
283 |
JSONObject inStockStack = new JSONObject().put("label", "In Stock").put("backgroundColor","rgba(54, 162, 235, 0.2)")
|
| 284 |
.put("label", "In Stock").put("stack", "Stack1").put("data", new JSONArray());
|
284 |
.put("stack", "Stack1").put("data", new JSONArray());
|
| 285 |
JSONObject salesStack = new JSONObject().put("label", "Sales").put("backgroundColor","rgba(255, 206, 86, 0.2)")
|
285 |
JSONObject salesStack = new JSONObject().put("backgroundColor","rgba(255, 206, 86, 0.2)")
|
| 286 |
.put("label", "Sales").put("stack", "Stack1").put("data", new JSONArray());
|
286 |
.put("label", "Sales").put("stack", "Stack1").put("data", new JSONArray());
|
| 287 |
JSONObject grnPendingStack = new JSONObject().put("label", "Grn Pending").put("backgroundColor","rgba(75, 192, 192, 0.2)")
|
287 |
JSONObject grnPendingStack = new JSONObject().put("backgroundColor","rgba(75, 192, 192, 0.2)")
|
| 288 |
.put("label", "Grn Pending").put("stack", "Stack1").put("data", new JSONArray());
|
288 |
.put("label", "Grn Pending").put("stack", "Stack1").put("data", new JSONArray());
|
| 289 |
JSONObject billingPendingStack = new JSONObject().put("label", "Billing Pending").put("backgroundColor","rgba(153, 102, 255, 0.2)")
|
289 |
JSONObject billingPendingStack = new JSONObject().put("backgroundColor","rgba(153, 102, 255, 0.2)")
|
| 290 |
.put("label", "Billing Pending").put("stack", "Stack1").put("data", new JSONArray());
|
290 |
.put("label", "Billing Pending").put("stack", "Stack1").put("data", new JSONArray());
|
| 291 |
JSONObject inTransitStack = new JSONObject().put("label", "Stack1").put("backgroundColor","rgba(255, 159, 64, 0.2)")
|
291 |
JSONObject inTransitStack = new JSONObject().put("backgroundColor","rgba(255, 159, 64, 0.2)")
|
| 292 |
.put("label", "Returned").put("stack", "Stack1").put("data", new JSONArray());
|
292 |
.put("label", "Returned").put("stack", "Stack1").put("data", new JSONArray());
|
| 293 |
|
293 |
|
| 294 |
JSONArray dateLabels = new JSONArray();
|
294 |
JSONArray dateLabels = new JSONArray();
|
| 295 |
|
295 |
|
| 296 |
for (PartnerDailyInvestment pdi : partnerInvestments) {
|
296 |
for (PartnerDailyInvestment pdi : partnerInvestments) {
|