Refactored color and symbol counters to get rid of the ineffective ChartCounter prototype
Refactored getSymbol and getColor to share common logic, reducing file size.