db_class used in charts.