updates dom

added in
lineChart$set(dom = 'mainChart')

still doesnt work....