mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-604 add backgroundColors list
This commit is contained in:
@ -51,6 +51,7 @@ public class ChartData extends QWidgetData
|
||||
private ChartSubheaderData chartSubheaderData;
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
@ -388,6 +389,7 @@ public class ChartData extends QWidgetData
|
||||
private String color;
|
||||
private String backgroundColor;
|
||||
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
|
||||
**
|
||||
@ -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
|
||||
**
|
||||
@ -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
|
||||
**
|
||||
|
Reference in New Issue
Block a user