It would take some in-depth work to create ScriptUI palettes, but one thing about graphs - are you using the Illustrator native graphs? Those are special items that a script cannot manipulate, but which only can be manipulated through the UI, manually. It can be possible to expand the graph into shapes and then try to make a script which isolates different items to change their styling though.