GStyle Options - gavalian/groot GitHub Wiki
All datasets and axes inherit their initial style from GStyle statically. So in order to set a style in your application you must set the style before the objects are created.
Example:
GStyle.getGraphErrorsAttributes().setMarkerStyle(0);
GStyle.getGraphErrorsAttributes().setMarkerColor(3);
GStyle.getGraphErrorsAttributes().setMarkerSize(7);
GStyle.getGraphErrorsAttributes().setLineColor(3);
GStyle.getGraphErrorsAttributes().setLineWidth(3);
GStyle.getAxisAttributesX().setTitleFontSize(32);
GStyle.getAxisAttributesX().setLabelFontSize(28);
GStyle.getAxisAttributesY().setTitleFontSize(32);
GStyle.getAxisAttributesY().setLabelFontSize(28);
Note:
Since this is an advanced option you will have access to all methods in the DatasetAttributes class and is a generic class, so some options will not apply to the dataset you are working with (ex. Marker style won't affect a histogram).