public final class ChartPalettes extends Object
Modifier and Type | Method and Description |
---|---|
static Context |
context()
Deprecated.
|
static ChartPalette |
dark()
Deprecated.
use
dark(Context) instead. |
static ChartPalette |
dark(Context context)
Gets a
ChartPalette with distinctive entries per series Family. |
static ChartPalette |
darkSelected()
Deprecated.
use
darkSelected(Context) instead. |
static ChartPalette |
darkSelected(Context context)
Gets a
ChartPalette which is the "Selected" version of the dark palette. |
static ChartPalette |
generatePalette(PaletteEntryCollection entries)
Creates a new
ChartPalette instance by using an existing
PaletteEntryCollection with predefined entries. |
static void |
init(Context c)
Deprecated.
instead of initializing, directly get the palettes
with context -
light(Context) or dark(Context) . |
static ChartPalette |
light()
Deprecated.
use
light(Context) instead. |
static ChartPalette |
light(Context context)
Gets a
ChartPalette with distinctive entries per series Family. |
static ChartPalette |
lightSelected()
Deprecated.
use
lightSelected(Context) instead. |
static ChartPalette |
lightSelected(Context context)
Gets a
ChartPalette which is the "Selected" version of the light palette. |
@Deprecated public static Context context()
@Deprecated public static void init(Context c)
light(Context)
or dark(Context)
.public static ChartPalette generatePalette(PaletteEntryCollection entries)
ChartPalette
instance by using an existing
PaletteEntryCollection
with predefined entries.entries
- the PaletteEntryCollection
instance containing
the entries for the new palette.ChartPalette
instance containing the provided
entries.@Deprecated public static ChartPalette light()
light(Context)
instead.public static ChartPalette light(Context context)
ChartPalette
with distinctive entries per series Family. Colors are light and soft.@Deprecated public static ChartPalette dark()
dark(Context)
instead.public static ChartPalette dark(Context context)
ChartPalette
with distinctive entries per series Family. Colors are contrasting with each other.@Deprecated public static ChartPalette darkSelected()
darkSelected(Context)
instead.public static ChartPalette darkSelected(Context context)
ChartPalette
which is the "Selected" version of the dark palette.@Deprecated public static ChartPalette lightSelected()
lightSelected(Context)
instead.public static ChartPalette lightSelected(Context context)
ChartPalette
which is the "Selected" version of the light palette.