Base class of all Formatters. Encapsulates visual elements of a series; line style, color etc.
Implementors of this class should include both a default constructor and a one argument
constructor in the following form:
// provided as a convenience to users; allows instantiation and
// xml configuration in a single line.
public MyFormatter(Context ctx, int xmlCfgId) {
// prevent configuration of classes derived from this one:
if (getClass().equals(MyFormatter.class)) {
Configurator.configure(ctx, this, xmlCfgId);
}
}