Skip to content

Commit

Permalink
No need constantly sorting during dataset creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Oct 18, 2024
1 parent 41d3cf5 commit cd157af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio/ui/chart/Chart.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private IntervalXYDataset getDateset(int col) {

XYSeriesCollection collection = new XYSeriesCollection();
collection.setAutoWidth(true);
XYSeries series = new XYSeries(table.getColumnName(col));
XYSeries series = new XYSeries(table.getColumnName(col), false, true);
for (int row = 0; row < table.getRowCount(); row++) {
K.KBase xValue = (K.KBase)table.getValueAt(row, xIndex);
K.KBase yValue = (K.KBase)table.getValueAt(row, col);
Expand Down

0 comments on commit cd157af

Please sign in to comment.