add a sample for a custom category renderer.
doc fix