| Package | Description | 
|---|---|
| org.pepstock.charba.client.configuration | 
 Contains all elements to configure a chart instance (know as chart options at instance level). 
 | 
| org.pepstock.charba.client.datalabels | 
 Contains all classes to activate the  
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. | 
| org.pepstock.charba.client.defaults | 
 Contains all interfaces need to provide defaults values of the chart options. 
 | 
| org.pepstock.charba.client.defaults.chart | 
 Contains the default values of chart options based on type of chart instance. 
 | 
| org.pepstock.charba.client.defaults.globals | 
 Contains the default values of chart options for all chart types (CHART.JS options defaults). 
 | 
| org.pepstock.charba.client.enums | 
 Contains all enumerations of some chart options where only a specific set of values can be set. 
 | 
| org.pepstock.charba.client.options | 
 Contains all elements to configure charts at global level (know as chart global options). 
 | 
| org.pepstock.charba.client.utils | 
 Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Weight | 
Font.getWeight()
Returns the font weight, follows CSS font-style-weight options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Font.setWeight(Weight weight)
Sets the font weight, follows CSS font-style-weight options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AbstractBuilder<T> | 
AbstractBuilder.setFontWeight(Weight weight)
Sets the font weight, follows CSS font-style-weight label. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Weight | 
IsDefaultFont.getWeight()
Returns the font weight, follows CSS font-style-weight options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Weight | 
DefaultChartFont.getWeight()  | 
| Modifier and Type | Method and Description | 
|---|---|
Weight | 
DefaultRoutedFont.getWeight()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Weight | 
Weight.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Weight[] | 
Weight.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Weight | 
AbstractFont.getWeight()  | 
Weight | 
Font.getWeight()
Returns the font weight, follows CSS font-style-weight options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AbstractFont.setWeight(Weight weight)  | 
void | 
AbstractScriptableFont.setWeight(Weight weight)  | 
void | 
IsFont.setWeight(Weight weight)
Sets the font weight, follows CSS font-style-weight options. 
 | 
void | 
Font.setWeight(Weight weight)
Sets the font weight, follows CSS font-style-weight options. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
Utilities.toCSSFontProperty(FontStyle style,
                 Weight weight,
                 int size,
                 double lineHeight,
                 String family)
Builds the font string (shorthand property of CSS font) to use in the canvas object. 
The format is [font-style] [font-variant] [font-weight] [font-size] [font-family]. See here CSS specification.  | 
static String | 
Utilities.toCSSFontProperty(FontStyle style,
                 Weight weight,
                 int size,
                 String lineHeight,
                 String family)
Builds the font string (shorthand property of CSS font) to use in the canvas object. 
The format is [font-style] [font-variant] [font-weight] [font-size] [font-family]. See here CSS specification.  |