changed chart options to public attr's