The data series are in rows, rather than the default assumption of columns.
ch.Set 'style' 'rows'
For table charts, this has the effect of transposing the table.