Moved domainCode from XYChart to LineChart

Moved domainCode from XYChart to LineChart