Implement getSeries and getCategories, which makes graphic work