CE-604 add backgroundColors list

This commit is contained in:
2023-11-03 19:25:29 -05:00
parent 784cfbbaf4
commit 724e9c024e

View File

@ -51,6 +51,7 @@ public class ChartData extends QWidgetData
private ChartSubheaderData chartSubheaderData; private ChartSubheaderData chartSubheaderData;
/******************************************************************************* /*******************************************************************************
** **
*******************************************************************************/ *******************************************************************************/
@ -388,6 +389,7 @@ public class ChartData extends QWidgetData
private String color; private String color;
private String backgroundColor; private String backgroundColor;
private List<String> urls; private List<String> urls;
private List<String> backgroundColors;
@ -424,6 +426,17 @@ public class ChartData extends QWidgetData
/*******************************************************************************
** Getter for backgroundColors
**
*******************************************************************************/
public List<String> getBackgroundColors()
{
return backgroundColors;
}
/******************************************************************************* /*******************************************************************************
** Setter for backgroundColor ** Setter for backgroundColor
** **
@ -435,6 +448,17 @@ public class ChartData extends QWidgetData
/*******************************************************************************
** Setter for backgroundColor
**
*******************************************************************************/
public void setBackgroundColors(List<String> backgroundColors)
{
this.backgroundColors = backgroundColors;
}
/******************************************************************************* /*******************************************************************************
** Fluent setter for backgroundColor ** Fluent setter for backgroundColor
** **
@ -447,6 +471,18 @@ public class ChartData extends QWidgetData
/*******************************************************************************
** Fluent setter for backgroundColor
**
*******************************************************************************/
public Dataset withBackgroundColors(List<String> backgroundColors)
{
this.backgroundColors = backgroundColors;
return (this);
}
/******************************************************************************* /*******************************************************************************
** Getter for color ** Getter for color
** **