The Categorical Dataset
A categorical dataset is a dataset that contains a list of numeric values that correspond to a single category. In a categorical chart, there is only one numeric axis. The other axis plots the categories.
A columnar categorical dataset will use the first column's row value as the category and plot the following columns' numeric values per column as a series.
A row-based categorical dataset pivots the dataset, so that numeric column headers become the categories, the first column's values denote each series, and the numeric data is plotted by row.
This is easier to explain with an example
An Example Dataset
Here is a query and dataset from the Pentaho sample data:
Select department, sum(actual) as actual, sum(budget) as budget from quadrant_actuals group by department
This query results in the following dataset:
Marketing & Communication
Handing this dataset to a chart, the chart will plot the data by column by default. Here is a bar chart example:
To plot the data by rows, you must add the by-row property to the action sequence component definition. (You can set this property in the Design Studio by checking the Chart Row Dimension checkbox.)
Here is a bar chart example, with the same dataset plotted by rows: