A matrix chart shows relationships between two or more variables in a data set in grid format. The matrix chart is formed through at least two variables, for the X- and Y-categories. If there is a third or fourth variable, colour or other another dimension can be added to the matrix to represent it.
The <Matrix2DChart> element tag is used to create a matrix chart in KoolChart, and the series element tag for the matrix chart is <Matrix2DSeries>.
This sample chart is to show how to create a "plot" type matrix chart.
... <Matrix2DChart type="plot" ... > ... <series> <Matrix2DSeries xField="Data_x" yField="Data_y" zField="Data" renderer="rectangle" ... /> </series> ... </Matrix2DChart> ...
|type||The type attribute determines the drawing or fill type of the cell in the grid. The valid values are "renderer", "fill", "image" and "plot".|
|xField||The xField attribute determines the field name of the horizontal axis ( horizontalAxis ).|
|yField||The yField attribute determines the field name of the vertical axis ( verticalAxis ).|
|zField||The zField attribute determines the field name of the data represented in the cell of the grid.|
|renderer||The renderer attribute determines which figure will be drawn in the cell of the grid. The valid values are "rectangle", "circle", "diamond", "upTriangle", "downTriangle", "star", and the default value is "rectangle". (It is valid only if type="renderer" or type="plot".)|