Package | Description |
---|---|
org.pepstock.charba.client.adapters |
Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
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.resources |
Contains the fundamental java script resources to inject in order to use Charba.
It provides all implementations to inject embedded resources for all 3 date adapters, available by CHART.JS (MOMENT, LUXON and DATE.FNS). |
Class and Description |
---|
AbstractModule
Every date adapter needs to have a module with some attributes of date adapter itself.
It provides a single point of glass on date adapter. |
DateAdapterFormats
Contains all date time formats that a date adapter can manage.
|
DateAdapterOptions
Default class to use to map the date adapter options, if needed.
It must be extended with specific properties depending on date adapter. |
DateAdaptersOptionsFactory
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
DatefnsModule
Date adapter module for DATE-FNS.
date-fns provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates. |
DefaultsFormatsOverrider
Utility used by date adapter module to override the defaults formats for time unit.
This is needed because some defaults provided out of the box by adapters are not consistent (like WEEK). |
LuxonModule
Date adapter module for LUXON.
luxon provides a powerful, modern, and friendly wrapper for javascript dates and times. LUXON chart.js adapter has implemented the formats by Intl.DateTimeFormat instead of strings. To implement Intl.DateTimeFormat is quite complex and maybe useless. Therefore for LUXON, we use a predefined formats as string but equals to defaults of the adapter. |
LuxonOptions
Simple class to map LUXON options to provide to date time adapter.
|
LuxonOptionsFactory
Date adapter options factory for LUXON option.
It should be use to get stored LUXON options from global, chart options and configurations. |
MomentModule
Date adapter module for MOMENT.
moment to parse, validate, manipulate, and display dates and times in JavaScript. |
Class and Description |
---|
DateAdapterOptions
Default class to use to map the date adapter options, if needed.
It must be extended with specific properties depending on date adapter. |
DateAdaptersOptionsFactory
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
Class and Description |
---|
DateAdapterOptions
Default class to use to map the date adapter options, if needed.
It must be extended with specific properties depending on date adapter. |
DateAdaptersOptionsFactory
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
Class and Description |
---|
DateAdapterOptions
Default class to use to map the date adapter options, if needed.
It must be extended with specific properties depending on date adapter. |
DateAdaptersOptionsFactory
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
Class and Description |
---|
DateAdapterOptions
Default class to use to map the date adapter options, if needed.
It must be extended with specific properties depending on date adapter. |
DateAdaptersOptionsFactory
Factory interface to get the date adapter options (form chart or from default global ones) related to the date adapter.
|
Class and Description |
---|
AbstractModule
Every date adapter needs to have a module with some attributes of date adapter itself.
It provides a single point of glass on date adapter. |