This was experimental and I decided that it should better be a specialized plugin type. But most of the code is still there. If you want to make it work and can hack the code, all you need to do is add to the list of patterns in dataformfield_ratingmdl_renderer::patterns(), around line 400 in mod/dataform/field/ratingmdl/classes/renderer.php, the following patterns:
$patterns["[[$fieldname:avg:bar] ]"] = array(true, $fieldname);
$patterns["[[$fieldname:avg:star] ]"] = array(true, $fieldname);
(remove the redundant space between the closing brackets)
As the pattern name suggest, the star rating works on the average of ratings.
The number of stars is determined by the scale. So 5 points scale will display 5 stars. The styles are inline so may be difficult to change the look, but again it was just a quick experiment and need to be redone in an orderly manner.
hth