Add xlabel callback

Add xlabel callback to the legacy dca reference
Merge pull request #1 from netzmacht/patch-1

Add xlabel callback