make bar charts working

Apparently the bar chart polygon points are clockwise and are therefore
culled. Detect and change the front facing setting that case. Disabling
culling does not work here.

Change-Id: I5b243210d1febcbae2126f099455dd1330a5b7d6
get z order correct in a few more places

Change-Id: I88ff54193fe527fe4d498753557a27a99a856f05
small clean-up

Change-Id: I2bc4ff6f559eec11bcd48298e1147dbed96ee558
improve color handling and alpha channel handling

Change-Id: Ic58c763318eab538ff84e408029aaabda635443e
add a way to dump chart content to console

CTRL + F12 will dump the chart with the XShapeDumper

Change-Id: I1f40ddf7f51c2038be7af8fc56f626393f11da90