Interface MatrixChartModel
- All Superinterfaces:
ChartModel
- All Known Implementing Classes:
DefaultMatrixChartModel
An extension of ChartModel for matrix-based data, such as that required
by Chord Diagrams or adjacency matrices.
- Since:
- 2025-06-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ChartModel
ChartModel.ChartModelListener -
Field Summary
Fields inherited from interface ChartModel
EMPTY_DOUBLE -
Method Summary
Modifier and TypeMethodDescriptionReturns the labels for the entities (nodes) in the matrix.double[][]Returns the data as a 2D matrix.Methods inherited from interface ChartModel
addChangeListener, getColor, getDataRange, getHighData, getLabel, getLowData, getMax, getMin, getName, getOpenData, getPointCount, getUpdateStamp, getValue, getWeight, getWeightData, getX, getXData, getY, getY, getYData, isEmpty, removeChangeListener, setColor
-
Method Details
-
getMatrix
double[][] getMatrix()Returns the data as a 2D matrix. The matrix represents the flow or relationship between entities.- Returns:
- A 2D double array where matrix[i][j] is the value from entity i to j.
-
getEntityLabels
-