Chart working with data coming from the data base.

Signed-off-by: drandx <garjuanpablo@gmail.com>