}
//invert arrays for cards
//amount of money spent to different groups in months tab 1
//add this aount first as a table with data
SpentTable stNew=new SpentTable();
JScrollPane jspSpent=new JScrollPane();
jspSpent.getViewport().add(stNew);
jtpAnalisys.addTab("Account review", jspSpent);
stNew.setData(strGroups, dblMonthSpent, strDates);
//then as a plot
JScrollPane jspChart=new JScrollPane(new MultipleChart(strGroups, dblMonthSpent, strDates, "Spent"));
jtpAnalisys.addTab("Expenses by months", jspChart);
//jtpAnalisys.setToolTipTextAt(1, "Outcome by months");
//percent of money spent to different groups in months tab 3