QQQ-41: added app sections, new widgets, ability to have no tables under app, etc.

This commit is contained in:
Tim Chamberlain
2022-09-16 10:19:06 -05:00
parent 01afdaacfd
commit 8891b3e7ea
19 changed files with 1923 additions and 70 deletions

View File

@ -26,7 +26,7 @@ import java.util.ArrayList;
import java.util.List;
import com.kingsrook.qqq.backend.core.actions.dashboard.AbstractWidgetRenderer;
import com.kingsrook.qqq.backend.core.exceptions.QException;
import com.kingsrook.qqq.backend.core.model.dashboard.widgets.BarChart;
import com.kingsrook.qqq.backend.core.model.dashboard.widgets.ChartData;
import com.kingsrook.qqq.backend.core.model.metadata.QInstance;
import com.kingsrook.qqq.backend.core.model.metadata.dashboard.QWidgetMetaDataInterface;
import com.kingsrook.qqq.backend.core.model.session.QSession;
@ -89,7 +89,7 @@ public class PersonsByCreateDateBarChart extends AbstractWidgetRenderer
labels.add("May 2022");
data.add(64);
return (new BarChart("Persons created per Month", "Person records", labels, data));
return (new ChartData("Persons created per Month", null, "Person records", labels, data));
}
catch(Exception e)
{