Coordinate grid / line chart spec refactoring