mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
SPRINT-12: fixed compile error due to merging
This commit is contained in:
@ -27,6 +27,7 @@ import java.util.List;
|
|||||||
import com.kingsrook.qqq.backend.core.actions.dashboard.AbstractWidgetRenderer;
|
import com.kingsrook.qqq.backend.core.actions.dashboard.AbstractWidgetRenderer;
|
||||||
import com.kingsrook.qqq.backend.core.exceptions.QException;
|
import com.kingsrook.qqq.backend.core.exceptions.QException;
|
||||||
import com.kingsrook.qqq.backend.core.model.actions.widgets.RenderWidgetInput;
|
import com.kingsrook.qqq.backend.core.model.actions.widgets.RenderWidgetInput;
|
||||||
|
import com.kingsrook.qqq.backend.core.model.actions.widgets.RenderWidgetOutput;
|
||||||
import com.kingsrook.qqq.backend.core.model.dashboard.widgets.ChartData;
|
import com.kingsrook.qqq.backend.core.model.dashboard.widgets.ChartData;
|
||||||
|
|
||||||
|
|
||||||
@ -39,7 +40,7 @@ public class PersonsByCreateDateBarChart extends AbstractWidgetRenderer
|
|||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@Override
|
@Override
|
||||||
public Object render(RenderWidgetInput input) throws QException
|
public RenderWidgetOutput render(RenderWidgetInput input) throws QException
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -87,7 +88,7 @@ public class PersonsByCreateDateBarChart extends AbstractWidgetRenderer
|
|||||||
labels.add("May 2022");
|
labels.add("May 2022");
|
||||||
data.add(64);
|
data.add(64);
|
||||||
|
|
||||||
return (new ChartData("Persons created per Month", null, "Person records", labels, data));
|
return (new RenderWidgetOutput(new ChartData("Persons created per Month", null, "Person records", labels, data)));
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user