reflect on y axis in adjustDia. Now adjustDia2D also works as exprected.
put creation and application of transormation matrix in sperate function
incomplete and untested text drawing
add the Chart sample