how to link y-axis info to x-axis data using pyjamas colord bars horizontaly to vertikaly in php
===

I can't find out how to do horizontal bars to vertical bars to easily view datatable in php.
The strukture must be as shown:

2222222 (first row)
3333332 (second row)
2222232 (etc...)
3333232
2223232
3323232
2323232


2 = to blue color
3 = to white color
Data comes from MySQL
There can be different numbers of rows and colums. Datalabels are always in rows and datavalues are presented in colums.

Please help